mirror of https://github.com/python/cpython
Merge 3.5
This commit is contained in:
commit
45c84cc0ca
|
@ -427,9 +427,10 @@ class SubprocessMixin:
|
||||||
|
|
||||||
create = asyncio.create_subprocess_exec(sys.executable, '-c',
|
create = asyncio.create_subprocess_exec(sys.executable, '-c',
|
||||||
'pass', loop=self.loop)
|
'pass', loop=self.loop)
|
||||||
with support.check_no_resource_warning(self):
|
with warnings.catch_warnings(record=True) as warns:
|
||||||
with self.assertRaises(exc):
|
with self.assertRaises(exc):
|
||||||
self.loop.run_until_complete(create)
|
self.loop.run_until_complete(create)
|
||||||
|
self.assertEqual(warns, [])
|
||||||
|
|
||||||
|
|
||||||
if sys.platform != 'win32':
|
if sys.platform != 'win32':
|
||||||
|
|
Loading…
Reference in New Issue