summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_selector_events.py
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2022-07-17 18:21:58 +0100
committerGitHub <noreply@github.com>2022-07-17 10:21:58 -0700
commit07aeb7405ea42729b95ecae225f1d96a4aea5121 (patch)
treec561f2a521e2f3d457dc4e122821f85c58c6239b /Lib/test/test_asyncio/test_selector_events.py
parent044a593cbbe1639e906e06c47504dd1020ddfee4 (diff)
downloadcpython-git-07aeb7405ea42729b95ecae225f1d96a4aea5121.tar.gz
gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds (#94926)
Diffstat (limited to 'Lib/test/test_asyncio/test_selector_events.py')
-rw-r--r--Lib/test/test_asyncio/test_selector_events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_selector_events.py b/Lib/test/test_asyncio/test_selector_events.py
index d9d30fc25b..22dcfb2308 100644
--- a/Lib/test/test_asyncio/test_selector_events.py
+++ b/Lib/test/test_asyncio/test_selector_events.py
@@ -61,7 +61,6 @@ class BaseSelectorEventLoopTests(test_utils.TestCase):
def test_make_socket_transport(self):
m = mock.Mock()
self.loop.add_reader = mock.Mock()
- self.loop.add_reader._is_coroutine = False
transport = self.loop._make_socket_transport(m, asyncio.Protocol())
self.assertIsInstance(transport, _SelectorSocketTransport)