From: Victor Stinner Date: Wed, 29 Nov 2017 15:33:53 +0000 (+0100) Subject: test_socket: socket.socketpair() is always available (#4634) X-Git-Tag: v3.7.0a3~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c15bb49d71f97d400b295d88e5b075e89cb8ba20;p=thirdparty%2FPython%2Fcpython.git test_socket: socket.socketpair() is always available (#4634) --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index fb16d091f902..e70a8f69a7a4 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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)