[New-bugs-announce] [issue3407] test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)

Jean Brouwers report at bugs.python.org
Fri Jul 18 20:47:54 CEST 2008


New submission from Jean Brouwers <MrJean1 at Gmail.com>:

The test_urllib2_localnet fails on MacOS X 10.4.11 (Intel) with Python 2.6b2 (and 3.0b2), see 
below.

The same test also failed for Python 2.6b1 but was not reported as a test failure.


% ./python.exe 
Python 2.6b2 (r26b2:65082, Jul 18 2008, 09:00:40) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

% ./python.exe Lib/test/test_urllib2_localnet.py
test_proxy_qop_auth_int_works_or_throws_urlerror (__main__.ProxyAuthTests) ... ok
test_proxy_qop_auth_works (__main__.ProxyAuthTests) ... ok
test_proxy_with_bad_password_raises_httperror (__main__.ProxyAuthTests) ... ok
test_proxy_with_no_password_raises_httperror (__main__.ProxyAuthTests) ... ok

----------------------------------------------------------------------
Ran 4 tests in 4.233s

OK
test_200 (__main__.TestUrlopen) ... ok
test_200_with_parameters (__main__.TestUrlopen) ... ok
test_404 (__main__.TestUrlopen) ... ok
test_bad_address (__main__.TestUrlopen) ... FAIL
test_basic (__main__.TestUrlopen) ... ok
test_geturl (__main__.TestUrlopen) ... ok
test_info (__main__.TestUrlopen) ... ok
test_redirection (__main__.TestUrlopen) ... ok
test_sending_headers (__main__.TestUrlopen) ... ok

======================================================================
FAIL: test_bad_address (__main__.TestUrlopen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_urllib2_localnet.py", line 477, in test_bad_address
    urllib2.urlopen, "http://www.python.invalid./")
AssertionError: IOError not raised

----------------------------------------------------------------------
Ran 9 tests in 9.486s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_urllib2_localnet.py", line 491, in <module>
    test_main()
  File "Lib/test/test_urllib2_localnet.py", line 488, in test_main
    test_support.run_unittest(TestUrlopen)
  File ".../Python-2.6b2/Lib/test/test_support.py", line 731, in run_unittest
    _run_suite(suite)
  File ".../Python-2.6b2/Lib/test/test_support.py", line 714, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_urllib2_localnet.py", line 477, in test_bad_address
    urllib2.urlopen, "http://www.python.invalid./")
AssertionError: IOError not raised

----------
components: Tests
messages: 69971
nosy: MrJean1
severity: normal
status: open
title: test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)
type: behavior
versions: Python 2.6

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


More information about the New-bugs-announce mailing list