Issue #875 resolved

test_errors_warnings fails with Python 3 and LC_ALL=C

Jakub Wilk
created an issue

When test_config.test_errors_warnings 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/", line 198, in runTest self.test(self.arg) File "/usr/lib/python3/dist-packages/nose/", line 622, in newfunc return func(arg, kw) File "/tmp/sphinx-1.1.2/build/lib/tests/", line 214, in new_func func(tempdir, *args, kwds) File "/tmp/sphinx-1.1.2/build/lib/tests/", line 94, in test_errors_warnings cfg = Config(dir, '', {}, None) File "../sphinx/", line 200, in init source = File "/usr/lib/python3.2/encodings/", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] Exception: 'ascii' codec can't decode byte 0xc3 in position 34: ordinal not in range(128) }}}

Comments (2)

  1. Log in to comment