diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-25 20:15:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 14:15:40 +0200 |
commit | 06a40d735939fd7d5cb77a68a6e18299b6484fa5 (patch) | |
tree | 1d830596f995942fb2b6088002cab6ebcb0aee0d /Lib/test/support/socket_helper.py | |
parent | 91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 (diff) | |
download | cpython-git-06a40d735939fd7d5cb77a68a6e18299b6484fa5.tar.gz |
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
Diffstat (limited to 'Lib/test/support/socket_helper.py')
-rw-r--r-- | Lib/test/support/socket_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/socket_helper.py b/Lib/test/support/socket_helper.py index f709ffd40d..7070c12c25 100644 --- a/Lib/test/support/socket_helper.py +++ b/Lib/test/support/socket_helper.py @@ -146,7 +146,7 @@ def skip_unless_bind_unix_socket(test): return unittest.skip('No UNIX Sockets')(test) global _bind_nix_socket_error if _bind_nix_socket_error is None: - from test.support import TESTFN, unlink + from .os_helper import TESTFN, unlink path = TESTFN + "can_bind_unix_socket" with socket.socket(socket.AF_UNIX) as sock: try: |