- Issue #20070: Don't run test_urllib2net when network resources are not
enabled.
This commit is contained in:
parent
bb4b7c12fa
commit
e575148cc2
@ -14,6 +14,8 @@ try:
|
||||
except ImportError:
|
||||
ssl = None
|
||||
|
||||
support.requires("network")
|
||||
|
||||
TIMEOUT = 60 # seconds
|
||||
|
||||
|
||||
@ -339,5 +341,4 @@ class TimeoutTest(unittest.TestCase):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
support.requires("network")
|
||||
unittest.main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user