summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_selector_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-28 11:15:26 +0100
committerGitHub <noreply@github.com>2017-11-28 11:15:26 +0100
commita10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c (patch)
tree6ed634f185e7920ed25ae56e537e0202b675f7c9 /Lib/test/test_asyncio/test_selector_events.py
parent92f9339a58a613a56683510499509d1b702921a8 (diff)
downloadcpython-git-a10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c.tar.gz
asyncio: use directly socket.socketpair() (#4597)
Since Python 3.5, socket.socketpair() is also available on Windows, and so can be used directly, rather than using asyncio.windows_utils.socketpair().
Diffstat (limited to 'Lib/test/test_asyncio/test_selector_events.py')
-rw-r--r--Lib/test/test_asyncio/test_selector_events.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_selector_events.py b/Lib/test/test_asyncio/test_selector_events.py
index 2adb43ae72..7db943e800 100644
--- a/Lib/test/test_asyncio/test_selector_events.py
+++ b/Lib/test/test_asyncio/test_selector_events.py
@@ -154,9 +154,6 @@ class BaseSelectorEventLoopTests(test_utils.TestCase):
self.loop.close()
self.assertIsNone(self.loop._selector)
- def test_socketpair(self):
- self.assertRaises(NotImplementedError, self.loop._socketpair)
-
def test_read_from_self_tryagain(self):
self.loop._ssock.recv.side_effect = BlockingIOError
self.assertIsNone(self.loop._read_from_self())