mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- Issue #20070: Don't run test_urllib2net when network resources are not
enabled.
This commit is contained in:
parent
bb4b7c12fa
commit
e575148cc2
2 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -253,6 +253,9 @@ IDLE
|
|||
Tests
|
||||
-----
|
||||
|
||||
- Issue #20070: Don't run test_urllib2net when network resources are not
|
||||
enabled.
|
||||
|
||||
- Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
|
||||
disabled since 3.0 due to the changes in listcomp handling.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue