diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2020-04-29 10:36:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-29 10:36:20 +0300 |
| commit | bfb1cf44658934cbcd9707fb717d6770c78fbeb3 (patch) | |
| tree | a9dcce79d42f76509491b3d8b165f6737143cbc5 /Lib/test/test_socket.py | |
| parent | bb4a585d903e7fe0a46ded8c2ee3f47435ad6a66 (diff) | |
| download | cpython-git-bfb1cf44658934cbcd9707fb717d6770c78fbeb3.tar.gz | |
bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711)
Diffstat (limited to 'Lib/test/test_socket.py')
| -rwxr-xr-x | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index a70e28219e..87ae2e127a 100755 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1533,7 +1533,7 @@ class GeneralModuleTests(unittest.TestCase): def test_idna(self): # Check for internet access before running test # (issue #12804, issue #25138). - with support.transient_internet('python.org'): + with socket_helper.transient_internet('python.org'): socket.gethostbyname('python.org') # these should all be successful |
