[issue14341] sporadic (?) test_urllib2 failures

Stefan Krah report at bugs.python.org
Fri Apr 6 20:50:26 CEST 2012


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

Running test_http_cookiejar and test_urllib2 in succession always
fails here. The same thing occurs when running test_urllib2
twice:

$ ./python -m test test_http_cookiejar test_urllib2
[1/2] test_http_cookiejar
[2/2] test_urllib2
test test_urllib2 failed -- Traceback (most recent call last):
  File "/home/stefan/pydev/cpython/Lib/test/test_urllib2.py", line 628, in test_method_deprecations
    req.get_host()
  File "/home/stefan/pydev/cpython/Lib/contextlib.py", line 54, in __exit__
    next(self.gen)
  File "/home/stefan/pydev/cpython/Lib/test/support.py", line 766, in _filterwarnings
    missing[0])
AssertionError: filter ('', DeprecationWarning) did not catch any warning

1 test OK.
1 test failed:
    test_urllib2

----------

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


More information about the Python-bugs-list mailing list