Issues

Issue #876 resolved

test_quickstart_all_answers fails with Python 3 and LC_ALL=C

Jakub Wilk
created an issue

When test_quickstart.test_quickstart_all_answers is run using Python 3 and LC_ALL is set to C, it fails with the following exception: {{{ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest self.test(self.arg) File "/usr/lib/python3/dist-packages/nose/util.py", line 622, in newfunc return func(arg, kw) File "/tmp/sphinx-1.1.2/build/lib/tests/util.py", line 214, in new_func func(tempdir, *args, kwds) File "/tmp/sphinx-1.1.2/build/lib/tests/test_quickstart.py", line 156, in test_quickstart_all_answers code = compile(f.read(), conffile, 'exec') File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] Exception: UnicodeDecodeError: ascii }}}

Comments (2)

  1. Log in to comment