mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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:
parent
1c63734217
commit
8d0249e345
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