summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-29 15:33:53 (GMT)
committerGitHub <noreply@github.com>2017-11-29 15:33:53 (GMT)
commitc15bb49d71f97d400b295d88e5b075e89cb8ba20 (patch)
treea92bb7e5edb7821138a3f936b19b705c9f6c9ca1
parentef83806f5ec01f34f6cbf4ebb5752875b5961f7e (diff)
downloadcpython-c15bb49d71f97d400b295d88e5b075e89cb8ba20.zip
cpython-c15bb49d71f97d400b295d88e5b075e89cb8ba20.tar.gz
cpython-c15bb49d71f97d400b295d88e5b075e89cb8ba20.tar.bz2
test_socket: socket.socketpair() is always available (#4634)
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index fb16d09..e70a8f6 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)