[Python-Dev] Test failures under Windows?

Antoine Pitrou solipsis at pitrou.net
Tue Mar 24 14:49:28 CET 2009


Hello,

I've just tried running test_io under Windows (in a virtual machine) and I get
the following failures:

======================================================================
ERROR: test_error_through_destructor (test.test_io.CTextIOWrapperTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Z:\py3k\__svn__\lib\test\test_io.py", line 1543, in test_error_through_d
estructor
    self.assertRaises(AttributeError, f)
  File "Z:\py3k\__svn__\lib\unittest.py", line 457, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "Z:\py3k\__svn__\lib\test\test_io.py", line 1541, in f
    self.TextIOWrapper(rawio).xyzzy
OSError: [Errno 9] Bad file descriptor

======================================================================
ERROR: test_error_through_destructor (test.test_io.PyTextIOWrapperTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Z:\py3k\__svn__\lib\test\test_io.py", line 1543, in test_error_through_d
estructor
    self.assertRaises(AttributeError, f)
  File "Z:\py3k\__svn__\lib\unittest.py", line 457, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "Z:\py3k\__svn__\lib\test\test_io.py", line 1541, in f
    self.TextIOWrapper(rawio).xyzzy
  File "Z:\py3k\__svn__\lib\_pyio.py", line 1356, in __init__
    encoding = os.device_encoding(buffer.fileno())
OSError: [Errno 9] Bad file descriptor

----------------------------------------------------------------------

Am I the only one getting those?
By the way, what happened to the Windows buildbots?

Regards

Antoine.




More information about the Python-Dev mailing list