summaryrefslogtreecommitdiff
path: root/Lib/test/test_stat.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_stat.py')
-rw-r--r--Lib/test/test_stat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_stat.py b/Lib/test/test_stat.py
index be01db2ed5..d9e4ffde65 100644
--- a/Lib/test/test_stat.py
+++ b/Lib/test/test_stat.py
@@ -2,8 +2,8 @@ import unittest
import os
import socket
import sys
-from test.support import (TESTFN, import_fresh_module,
- skip_unless_bind_unix_socket)
+from test.support import socket_helper
+from test.support import TESTFN, import_fresh_module
c_stat = import_fresh_module('stat', fresh=['_stat'])
py_stat = import_fresh_module('stat', blocked=['_stat'])
@@ -193,7 +193,7 @@ class TestFilemode:
self.assertS_IS("BLK", st_mode)
break
- @skip_unless_bind_unix_socket
+ @socket_helper.skip_unless_bind_unix_socket
def test_socket(self):
with socket.socket(socket.AF_UNIX) as s:
s.bind(TESTFN)