This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [2.3.2] test_socket failure on IRIX 6.5
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: draghuram, tww-china
Priority: normal Keywords:

Created on 2003-11-03 22:16 by tww-china, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60417 - (view) Author: The Written Word (Albert Chin) (tww-china) Date: 2003-11-03 22:16
Lib/test/test_socket.py fails on IRIX 6.5.19m with GCC
3.3.2:
$ ./python -E -tt ./Lib/test/test_socket.py
testCrucialConstants (__main__.GeneralModuleTests) ... ok
testDefaultTimeout (__main__.GeneralModuleTests) ... ok
testGetServByName (__main__.GeneralModuleTests) ... ok
...
testReadline
(__main__.SmallBufferedFileObjectClassTestCase) ... ok
testSmallRead
(__main__.SmallBufferedFileObjectClassTestCase) ... ok
testUnbufferedRead
(__main__.SmallBufferedFileObjectClassTestCase) ... ok

======================================================================
FAIL: testStringToIPv4 (__main__.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Lib/test/test_socket.py", line 361, in
testStringToIPv4
    self.assertEquals('1.0.1.0', f('\x01\x00\x01\x00'))
  File "/opt/build/Python-2.Lib/unittest.py", line
302, in failUnlessEqual
    raise self.failureException, \
AssertionError: '1.0.1.0' != '0.0.0.0'

----------------------------------------------------------------------
Ran 51 tests in 2.454s

FAILED (failures=1)
Traceback (most recent call last):
  File "./Lib/test/test_socket.py", line 755, in ?
    test_main()
  File "./Lib/test/test_socket.py", line 752, in test_main
    test_support.run_unittest(*tests)
  File
"/opt/build/Python-2.Lib/test/test_support.py",
line 262, in run_unittest
    run_suite(suite, testclass)
  File
"/opt/build/Python-2.Lib/test/test_support.py",
line 247, in run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent
call last):
  File "./Lib/test/test_socket.py", line 361, in
testStringToIPv4
    self.assertEquals('1.0.1.0', f('\x01\x00\x01\x00'))
  File "/opt/build/Python-2.Lib/unittest.py", line
302, in failUnlessEqual
    raise self.failureException, \
AssertionError: '1.0.1.0' != '0.0.0.0'
msg61645 - (view) Author: Raghuram Devarakonda (draghuram) (Python triager) Date: 2008-01-24 17:56
Please reopen if the problem can be reproduced with latest version.
History
Date User Action Args
2022-04-11 14:56:00adminsetgithub: 39498
2008-01-24 17:56:09draghuramsetstatus: open -> closed
resolution: works for me
messages: + msg61645
nosy: + draghuram
2003-11-03 22:16:57tww-chinacreate