kai zhu <kaizhu...@gmail.com> added the comment: added unittest to patch tested test.test_socket on debian colinux running under winxp
i get 2 unrelated errors (in both patched and unpatched version) from testRDM and testStream about socket.AF_TIPC being unsupported: pub...@colinux 3 ~/build/py3k.patch: ./python -m unittest test.test_socket ..................................................................s..........................................EE.................... ====================================================================== ERROR: testRDM (test.test_socket.TIPCTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 1683, in testRDM srv = socket.socket(socket.AF_TIPC, socket.SOCK_RDM) File "/home/public/build/py3k.patch/Lib/socket.py", line 94, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) socket.error: [Errno 97] Address family not supported by protocol ====================================================================== ERROR: testStream (test.test_socket.TIPCThreadableTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 131, in _setUp self.__setUp() File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 1707, in setUp self.srv = socket.socket(socket.AF_TIPC, socket.SOCK_STREAM) File "/home/public/build/py3k.patch/Lib/socket.py", line 94, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) socket.error: [Errno 97] Address family not supported by protocol ---------------------------------------------------------------------- Ran 131 tests in 15.960s FAILED (errors=2, skipped=1) ---------- Added file: http://bugs.python.org/file19194/socket.makefile.with.unittest.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10041> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com