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

Skip Montanaro report at bugs.python.org
Wed Dec 19 16:18:36 CET 2007


New submission from Skip Montanaro:

(third try at getting this bug report to submit by email.)

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: 58807
nosy: skip.montanaro
severity: normal
status: open
title: Tests needing network flag?
Added file: http://bugs.python.org/file8997/network.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1660>
__________________________________
-------------- 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/4e8be30c/attachment.obj 


More information about the New-bugs-announce mailing list