Commit 45c84cc0 authored by Yury Selivanov's avatar Yury Selivanov

Merge 3.5

parents aed6f6c0 0c6a3440
......@@ -427,9 +427,10 @@ class SubprocessMixin:
create = asyncio.create_subprocess_exec(sys.executable, '-c',
'pass', loop=self.loop)
with support.check_no_resource_warning(self):
with warnings.catch_warnings(record=True) as warns:
with self.assertRaises(exc):
self.loop.run_until_complete(create)
self.assertEqual(warns, [])
if sys.platform != 'win32':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment