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

(cherry picked from commit 07aeb7405e)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-07-17 10:49:01 -07:00 committed by GitHub
parent 1c63734217
commit 8d0249e345
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)