Charles-François Natali added the comment:
The test is failing on Windows buildbot:
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1851/steps/test/logs/stdio
"""
======================================================================
ERROR: test_unregister_after_fd_close_and_reuse
(test.test_selectors.DefaultSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"E:\Data\buildslave\cpython\3.x.snakebite-win2k3r2sp2-x86\build\lib\test\test_selectors.py",
line 122, in test_unregister_after_fd_close_and_reuse
os.dup2(rd2.fileno(), r)
OSError: [Errno 9] Bad file descriptor
======================================================================
ERROR: test_unregister_after_fd_close_and_reuse
(test.test_selectors.SelectSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"E:\Data\buildslave\cpython\3.x.snakebite-win2k3r2sp2-x86\build\lib\test\test_selectors.py",
line 122, in test_unregister_after_fd_close_and_reuse
os.dup2(rd2.fileno(), r)
OSError: [Errno 9] Bad file descriptor
"""
Apparently, dup2() doesn't work on Windows because on Windows, sockets aren't
file descriptors, but a different beast...
----------
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19876>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com