summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_subprocess.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@edgedb.com>2019-09-29 22:30:17 -0700
committerGitHub <noreply@github.com>2019-09-29 22:30:17 -0700
commit1c19d656a79a00f58361ceb61c0a6d1faf90c686 (patch)
tree3547b3ebcb63442c1621a09e3c347e1d034d657a /Lib/test/test_asyncio/test_subprocess.py
parent21f24ead90c22d0e2c2ebf14a64b37d99de54b33 (diff)
downloadcpython-git-1c19d656a79a00f58361ceb61c0a6d1faf90c686.tar.gz
bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485)
See https://bugs.python.org/issue38242 for more details
Diffstat (limited to 'Lib/test/test_asyncio/test_subprocess.py')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index 3ad18e5c51..fe8cfa61b1 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -582,18 +582,6 @@ class SubprocessMixin:
self.loop.run_until_complete(execute())
- def test_subprocess_protocol_create_warning(self):
- with self.assertWarns(DeprecationWarning):
- subprocess.SubprocessStreamProtocol(limit=10, loop=self.loop)
-
- def test_process_create_warning(self):
- proto = subprocess.SubprocessStreamProtocol(limit=10, loop=self.loop,
- _asyncio_internal=True)
- transp = mock.Mock()
-
- with self.assertWarns(DeprecationWarning):
- subprocess.Process(transp, proto, loop=self.loop)
-
def test_create_subprocess_exec_text_mode_fails(self):
async def execute():
with self.assertRaises(ValueError):