[issue8857] socket.getaddrinfo needs tests

Stefan Krah report at bugs.python.org
Mon Jun 14 22:25:30 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

FreeBSD/Qemu: ipv6 is ok, but this fails:

======================================================================
FAIL: testGetaddrinfo (__main__.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_socket.py", line 587, in testGetaddrinfo
    self.assertEqual(socktype, socket.SOCK_STREAM)
AssertionError: 2 != 1

----------------------------------------------------------------------
Ran 113 tests in 4.174s

FAILED (failures=1, skipped=79)
Traceback (most recent call last):
  File "Lib/test/test_socket.py", line 1530, in <module>
    test_main()
  File "Lib/test/test_socket.py", line 1526, in test_main
    support.run_unittest(*tests)
  File "/usr/home/stefan/svn/py3k/Lib/test/support.py", line 1054, in run_unittest
    _run_suite(suite)
  File "/usr/home/stefan/svn/py3k/Lib/test/support.py", line 1037, in _run_suite
    raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_socket.py", line 587, in testGetaddrinfo
    self.assertEqual(socktype, socket.SOCK_STREAM)
AssertionError: 2 != 1

----------
nosy: +skrah

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


More information about the Python-bugs-list mailing list