[issue11192] test_socket error on AIX

Michael Felt report at bugs.python.org
Mon Jul 25 10:41:14 EDT 2016


Michael Felt added the comment:

FYI: test fails on AIX 5.3 TL7 SP0 (as expected. The IBM document refers to 5.3 TL8)

On AIX 6.1 TL9 SP5 (and probably earlier) the test passes. IMHO - can be closed (and README.AIX can be updated).

michael at x071:[/data/prj/aixtools/python/python-2.7.11.5/Lib/test]oslevel -q -s | head -5
Known Service Packs
-------------------
6100-09-05-1524
6100-09-04-1441

michael at x071:[/data/prj/aixtools/python/python-2.7.11.5/Lib/test]../../python test_socket.py
...
----------------------------------------------------------------------
Ran 124 tests in 15.860s

OK (skipped=7)

On AIX 5.3 (the expected fail...)
root at x064:[/data/prj/aixtools/python/python-2.7.11.5/Lib/test]oslevel -q -s | head -5
Known Service Packs
-------------------
5300-07-00-0000
5300-06-03-0732

root at x064:[/data/prj/aixtools/python/python-2.7.11.5/Lib/test]../../python test_socket.py

...

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

----------------------------------------------------------------------
Ran 124 tests in 16.765s

FAILED (failures=1, skipped=7)
Traceback (most recent call last):
  File "test_socket.py", line 1804, in <module>
    test_main()
  File "test_socket.py", line 1800, in test_main
    test_support.run_unittest(*tests)
  File "/data/prj/aixtools/python/python-2.7.11.5/Lib/test/test_support.py", line 1428, in run_unittest
    _run_suite(suite)
  File "/data/prj/aixtools/python/python-2.7.11.5/Lib/test/test_support.py", line 1411, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "test_socket.py", line 691, in testGetaddrinfo
    self.assertEqual(socktype, socket.SOCK_STREAM)
AssertionError: 0 != 1

----------
nosy: +Michael.Felt

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


More information about the Python-bugs-list mailing list