1
0
mirror of https://github.com/django/django.git synced 2025-02-01 05:10:04 +00:00

Refs #25677 -- Fixed Python 2 i18n test failure on non-ASCII path.

This commit is contained in:
Tim Graham 2015-11-19 15:55:00 -05:00
parent 80bcbecd4a
commit db8763fb23

View File

@ -62,7 +62,7 @@ class PoFileTests(MessageCompilationTests):
try:
call_command('compilemessages', locale=['en'], stderr=err_buffer, verbosity=0)
err = err_buffer.getvalue()
self.assertIn("not writable location", err)
self.assertIn("not writable location", force_text(err))
finally:
os.chmod(mo_file_en, old_mode)