[Python-checkins] cpython: Issue #22685, asyncio: resume_reading() must also be called in

victor.stinner python-checkins at python.org
Fri Nov 28 22:42:19 CET 2014


https://hg.python.org/cpython/rev/276515d2ceed
changeset:   93651:276515d2ceed
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Nov 28 22:42:06 2014 +0100
summary:
  Issue #22685, asyncio: resume_reading() must also be called in test_pause_reading()

files:
  Lib/test/test_asyncio/test_subprocess.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -196,6 +196,7 @@
 
         self.assertEqual(stdout, b'x' * size)
         self.assertTrue(transport.pause_reading.called)
+        self.assertTrue(transport.resume_reading.called)
 
 
 if sys.platform != 'win32':

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list