Commit c15bb49d authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

test_socket: socket.socketpair() is always available (#4634)

parent ef83806f
...@@ -5136,8 +5136,6 @@ class InheritanceTest(unittest.TestCase): ...@@ -5136,8 +5136,6 @@ class InheritanceTest(unittest.TestCase):
0) 0)
@unittest.skipUnless(hasattr(socket, "socketpair"),
"need socket.socketpair()")
def test_socketpair(self): def test_socketpair(self):
s1, s2 = socket.socketpair() s1, s2 = socket.socketpair()
self.addCleanup(s1.close) self.addCleanup(s1.close)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment