[Python-Dev] test_sys failures

Guido van Rossum guido at python.org
Thu Dec 20 21:58:32 CET 2007

When I build from scratch and run most tests (regrtest.py -uall) I get
some strange failures with test_sys.py:

test test_sys failed -- Traceback (most recent call last):
  File "/usr/local/google/home/guido/python/py3kd/Lib/test/test_sys.py",
line 302, in test_43581
    self.assertEqual(sys.__stdout__.encoding, sys.__stderr__.encoding)
AssertionError: 'ascii' != 'ISO-8859-1'

The same test doesn't fail when run in isolation.

Interestingly, I saw this with 2.5 as well as 3.0, but not with 2.6!

Any ideas?

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list