Kaydet (Commit) db8763fb authored tarafından Tim Graham's avatar Tim Graham

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

üst 80bcbecd
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment