[New-bugs-announce] [issue1659] Tests needing network flag?

Skip Montanaro report at bugs.python.org
Wed Dec 19 16:17:30 CET 2007


New submission from Skip Montanaro:

While riding to work today I ran the test suite on trunk.  The following
tests failed due to lack of network connectivity:

    test_socket
    test_socket_ssl
    test_ssl
    test_urllib2

These tests should probably either require -u network or should themselves
check to see if the network is available and skip those tests requiring
network connectivity.  In fact, regrtest.py's comments list test_socket_ssl
as requiring the network resource.  That seems to have regressed since 2.5

Simple patch attached.

Skip

----------
files: network.diff
messages: 58806
nosy: skip.montanaro
severity: normal
status: open
title: Tests needing network flag?
Added file: http://bugs.python.org/file8996/network.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1659>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network.diff
Type: application/octet-stream
Size: 1908 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071219/0a1679e3/attachment.obj 


More information about the New-bugs-announce mailing list