$OpenBSD: patch-Lib_test_test_sys_py,v 1.1 2008/02/27 00:30:47 djm Exp $ --- Lib/test/test_sys.py.orig Tue Jul 25 14:07:22 2006 +++ Lib/test/test_sys.py Tue Feb 19 14:44:47 2008 @@ -345,10 +345,11 @@ class SysModuleTest(unittest.TestCase): self.assert_(vi[3] in ("alpha", "beta", "candidate", "final")) self.assert_(isinstance(vi[4], int)) - def test_43581(self): - # Can't use sys.stdout, as this is a cStringIO object when - # the test runs under regrtest. - self.assert_(sys.__stdout__.encoding == sys.__stderr__.encoding) + # This test is simply broken when run with a redirected stdout + #def test_43581(self): + # # Can't use sys.stdout, as this is a cStringIO object when + # # the test runs under regrtest. + # self.assert_(sys.__stdout__.encoding == sys.__stderr__.encoding) def test_main(): test.test_support.run_unittest(SysModuleTest)