diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-30 00:21:06 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-30 00:21:06 (GMT) |
commit | 934fa344c8f328498c03a8eafed8cc404ffcbef2 (patch) | |
tree | 153d94289c3a43f8099b2e92aeb7b5ae8f1472df /Lib/test/test_asyncio/test_subprocess.py | |
parent | 151b23562ea6105f79d8c4b5d5fe42bb61813d96 (diff) | |
parent | f2e43cbbd4b9325da638a6b45b52e766ca91b131 (diff) | |
download | cpython-934fa344c8f328498c03a8eafed8cc404ffcbef2.zip cpython-934fa344c8f328498c03a8eafed8cc404ffcbef2.tar.gz cpython-934fa344c8f328498c03a8eafed8cc404ffcbef2.tar.bz2 |
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/test/test_asyncio/test_subprocess.py')
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index d4b71b7..b467b04 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -47,22 +47,6 @@ class SubprocessTransportTests(test_utils.TestCase): None, None, None, 0, waiter=waiter) return (transport, protocol) - def test_close(self): - waiter = asyncio.Future(loop=self.loop) - transport, protocol = self.create_transport(waiter) - transport._process_exited(0) - transport.close() - - # The loop didn't run yet - self.assertFalse(protocol.connection_made.called) - - # methods must raise ProcessLookupError if the transport was closed - self.assertRaises(ValueError, transport.send_signal, signal.SIGTERM) - self.assertRaises(ValueError, transport.terminate) - self.assertRaises(ValueError, transport.kill) - - self.loop.run_until_complete(waiter) - def test_proc_exited(self): waiter = asyncio.Future(loop=self.loop) transport, protocol = self.create_transport(waiter) |