summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_urllib2net.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
index fba3cea..ab638ea 100644
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -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()