diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-28 11:15:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 11:15:26 +0100 |
commit | a10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c (patch) | |
tree | 6ed634f185e7920ed25ae56e537e0202b675f7c9 /Lib/test/test_asyncio/test_selector_events.py | |
parent | 92f9339a58a613a56683510499509d1b702921a8 (diff) | |
download | cpython-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.py | 3 |
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()) |