Message118401
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:
public@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) |
|
Date |
User |
Action |
Args |
2010-10-12 03:50:22 | kaizhu | set | recipients:
+ kaizhu, pitrou, eric.smith, r.david.murray |
2010-10-12 03:50:20 | kaizhu | set | messageid: <1286855420.95.0.101875969555.issue10041@psf.upfronthosting.co.za> |
2010-10-12 03:50:19 | kaizhu | link | issue10041 messages |
2010-10-12 03:50:18 | kaizhu | create | |
|