test_socket Testing for mission critical constants. ... ok Testing default timeout. ... ok Testing getservbyname(). ... ok Testing getsockopt(). ... ok Testing hostname resolution mechanisms. ... ok Making sure getnameinfo doesn't crash the interpreter. ... ok Testing for existance of non-crucial constants. ... ok Testing reference count for getnameinfo. ... ok Testing setsockopt(). ... ok Testing getsockname(). ... ok Testing that socket module exceptions. ... ok Testing fromfd(). ... ok Testing receive in chunks over TCP. ... ok Testing recvfrom() in chunks over TCP. ... seg1='Michael Gilfix was he', addr='('127.0.0.1', 4274)' seg2='re ', addr='('127.0.0.1', 4274)' ok Testing large receive over TCP. ... ok Testing large recvfrom() over TCP. ... msg='Michael Gilfix was here ', addr='('127.0.0.1', 4276)' ok Testing sendall() with a 2048 byte string over TCP. ... FAIL Testing shutdown(). ... ok Testing recvfrom() over UDP. ... ok Testing sendto() and Recv() over UDP. ... ok Testing non-blocking accept. ... ok Testing non-blocking connect. ... ERROR Testing non-blocking recv. ... ok Testing whether set blocking works. ... ok Performing file readline test. ... ok Performing small file read test. ... ok Performing unbuffered file read test. ... ok ====================================================================== ERROR: Testing non-blocking connect. ---------------------------------------------------------------------- Traceback (most recent call last): File "../../Lib/test/test_socket.py", line 117, in _tearDown self.fail(msg) File "F:/DEV/CVS_TEST/PYTHON-CVS/Lib/unittest.py", line 254, in fail raise self.failureException, msg AssertionError: (56, 'Socket is already connected') ====================================================================== FAIL: Testing sendall() with a 2048 byte string over TCP. ---------------------------------------------------------------------- Traceback (most recent call last): File "../../Lib/test/test_socket.py", line 412, in testSendAll self.assert_(len(read) == 1024, "Error performing sendall.") File "F:/DEV/CVS_TEST/PYTHON-CVS/Lib/unittest.py", line 262, in failUnless if not expr: raise self.failureException, msg AssertionError: Error performing sendall. ---------------------------------------------------------------------- Ran 27 tests in 10.090s FAILED (failures=1, errors=1) test test_socket failed -- errors occurred; run in verbose mode for details 1 test failed: test_socket