mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
test_socket: socket.socketpair() is always available (#4634)
This commit is contained in:
parent
ef83806f5e
commit
c15bb49d71
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue