Fixed broken i18n tests after r16437.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f2dca72afd
commit
df45e35661
|
@ -79,7 +79,7 @@ class BasicExtractorTests(ExtractorTests):
|
||||||
|
|
||||||
def test_extraction_error(self):
|
def test_extraction_error(self):
|
||||||
os.chdir(self.test_dir)
|
os.chdir(self.test_dir)
|
||||||
shutil.copyfile('./templates/template_with_error.txt', './templates/template_with_error.html')
|
shutil.copyfile('./templates/template_with_error.tpl', './templates/template_with_error.html')
|
||||||
self.assertRaises(SyntaxError, management.call_command, 'makemessages', locale=LOCALE, verbosity=0)
|
self.assertRaises(SyntaxError, management.call_command, 'makemessages', locale=LOCALE, verbosity=0)
|
||||||
try:
|
try:
|
||||||
management.call_command('makemessages', locale=LOCALE, verbosity=0)
|
management.call_command('makemessages', locale=LOCALE, verbosity=0)
|
||||||
|
|
Loading…
Reference in New Issue