﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21229	Cygwin's gettext causes test failure	Kevin Christopher Henry	nobody	"I was getting the following error while running the test suite on Windows:

{{{
======================================================================
FAIL: test_comments_extractor (i18n.commands.extraction.BasicExtractorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""C:\Django\django\tests\i18n\commands\extraction.py"", line 83, in test_comments_extractor
    self.assertTrue('#. Translators: One-line translator comment #3' in po_contents)
AssertionError: False is not true
}}}

After some investigation I realized that this only happened while using Cygwin's 0.18.1 version of gettext: switching to the Windows 0.18.1 binary from [http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ here] (as [https://docs.djangoproject.com/en/dev/topics/i18n/translation/#gettext-on-windows recommended]) caused the test to pass.

I'm guessing this has something to do with the handling of line breaks, since I was also able to make the test pass by removing the line break between `{% comment %}` and `Translators:` in `tests/i18n/commands/templates/test.html`. I haven't investigated much further.

So this does not seem to be a Django bug, but I thought I'd mention it...
"	Uncategorized	closed	Internationalization	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
