Check self.Watcher instead of asyncio.get_child_watcher()
Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
This commit is contained in:
parent
b210564782
commit
c42449f035
|
@ -460,10 +460,9 @@ class SubprocessMixin:
|
|||
test_utils.run_briefly(self.loop)
|
||||
|
||||
def test_close_kill_running(self):
|
||||
if sys.platform != "win32":
|
||||
if isinstance(asyncio.get_child_watcher(),
|
||||
asyncio.MultiLoopChildWatcher):
|
||||
self.skipTest("Temporary skip until bpo-38323 is fixed")
|
||||
if (sys.platform != "win32" and
|
||||
self.Watcher == asyncio.MultiLoopChildWatcher):
|
||||
self.skipTest("Temporary skip until bpo-38323 is fixed")
|
||||
|
||||
async def kill_running():
|
||||
create = self.loop.subprocess_exec(asyncio.SubprocessProtocol,
|
||||
|
|
Loading…
Reference in New Issue