summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-03-02 15:41:51 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-03-02 15:41:51 (GMT)
commit45c84cc0ca48d9b664c26971a3b527d60da80ceb (patch)
tree60dff2a39748df040e3bc783a116680c5ec0141c /Lib
parentaed6f6c0289ba32d9d9a1cd06d7b28337fb5961e (diff)
parent0c6a34409ea9cf9a82171da09801f086d472aa89 (diff)
downloadcpython-45c84cc0ca48d9b664c26971a3b527d60da80ceb.zip
cpython-45c84cc0ca48d9b664c26971a3b527d60da80ceb.tar.gz
cpython-45c84cc0ca48d9b664c26971a3b527d60da80ceb.tar.bz2
Merge 3.5
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index c111e2f..e90f17d 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -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':