gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds (#94926)

This commit is contained in:
Thomas Grainger 2022-07-17 18:21:58 +01:00 committed by GitHub
parent 044a593cbb
commit 07aeb7405e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 13 deletions

View file

@ -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)