]> granicus.if.org Git - python/commitdiff
test_socket: socket.socketpair() is always available (#4634)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 29 Nov 2017 15:33:53 +0000 (16:33 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Nov 2017 15:33:53 +0000 (16:33 +0100)
Lib/test/test_socket.py

index fb16d091f90274ec9f7776418f2005e858885877..e70a8f69a7a4b53b6d8770c32385cab99e85a496 100644 (file)
@@ -5136,8 +5136,6 @@ class InheritanceTest(unittest.TestCase):
                              0)
 
 
-    @unittest.skipUnless(hasattr(socket, "socketpair"),
-                         "need socket.socketpair()")
     def test_socketpair(self):
         s1, s2 = socket.socketpair()
         self.addCleanup(s1.close)