mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds (#94926)
This commit is contained in:
parent
044a593cbb
commit
07aeb7405e
3 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue