summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/socket_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/support/socket_helper.py')
-rw-r--r--Lib/test/support/socket_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/socket_helper.py b/Lib/test/support/socket_helper.py
index f709ffd..7070c12 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: