mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -50,8 +50,6 @@ class SubprocessTransportTests(test_utils.TestCase):
|
|||
|
||||
def create_transport(self, waiter=None):
|
||||
protocol = mock.Mock()
|
||||
protocol.connection_made._is_coroutine = False
|
||||
protocol.process_exited._is_coroutine = False
|
||||
transport = TestSubprocessTransport(
|
||||
self.loop, protocol, ['test'], False,
|
||||
None, None, None, 0, waiter=waiter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue