[issue5544] test_fileio fails on windows MSVC Assertion

Andreas Schawo report at bugs.python.org
Tue Mar 24 09:39:49 CET 2009


Andreas Schawo <andreas.schawo at gmail.com> added the comment:

I stepped back to r70187 and got no assertion.
An update to r70349 result in an assertion.

So I reverted the changes in test_fileio.py of r70349 and got no assertion.

But the test should work without assertion.

I tested releases 2.6.1, 3.0.1 and current trunk with:
import os
f = open('test.test', 'w')
os.close(f.fileno())
f.close()

2.6.1 and 3.0.1 raised an Exception with Errno 9.
With current trunk I've got the MSVC assertion.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5544>
_______________________________________


More information about the Python-bugs-list mailing list