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

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