> The first problem is in regrtest. This exception causes regrtest to crash. > > test_pyexpat > Traceback (most recent call last): > File "./Lib/test/regrtest.py", line 877, in ? > main() > File "./Lib/test/regrtest.py", line 229, in main > ok = runtest(test, generate, verbose, quiet, testdir) > File "./Lib/test/regrtest.py", line 392, in runtest > output = cfp.getvalue() > File "/home/neal/build/python/dist/src/Lib/StringIO.py", line 195, in getvalue > self.buf += ''.join(self.buflist) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 36: ordinal not in range(128) > > I put a try/except around line 392 in regrtest and then had 2 failures: > > test_pyexpat had no output (the unicode problem I guess) and test_rotor: > > test test_rotor produced unexpected output: > ********************************************************************** > *** mismatch between lines 2-3 of expected output and lines 2-3 of actual output: > - '\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf' > + 'qqqqq\x90 > ... > > Some unicode problem complaining about these 2 chars: \xcb and \xe2 > which are printed as e umlaut and e circumflex. > > Maybe this is just me again though? I saw this too. The fix was to add a setlocale() call to test___all__.py. Read my checkin comments and weep. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4