diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2016-03-02 15:37:59 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-03-02 15:37:59 (GMT) |
commit | 0c6a34409ea9cf9a82171da09801f086d472aa89 (patch) | |
tree | cfe507d828dd09b72819e5bf134dcf3b617738ca /Lib/test | |
parent | 049205f6463a6653160d43ee9c80880b8fababc0 (diff) | |
download | cpython-0c6a34409ea9cf9a82171da09801f086d472aa89.zip cpython-0c6a34409ea9cf9a82171da09801f086d472aa89.tar.gz cpython-0c6a34409ea9cf9a82171da09801f086d472aa89.tar.bz2 |
asyncio, selectors: Update to the upstream version
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 3 |
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': |