summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_subprocess.py
diff options
context:
space:
mode:
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):