summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_subprocess.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@edgedb.com>2019-09-30 04:59:55 (GMT)
committerGitHub <noreply@github.com>2019-09-30 04:59:55 (GMT)
commit6758e6e12a71ef5530146161881f88df1fa43382 (patch)
treeda1f89f35e54ddcfffc3706b87bb13f54907f7ea /Lib/test/test_asyncio/test_subprocess.py
parent3667e1ee6c90e6d3b6a745cd590ece87118f81ad (diff)
downloadcpython-6758e6e12a71ef5530146161881f88df1fa43382.zip
cpython-6758e6e12a71ef5530146161881f88df1fa43382.tar.gz
cpython-6758e6e12a71ef5530146161881f88df1fa43382.tar.bz2
bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482)
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 3ad18e5..fe8cfa6 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):