summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-03 22:42:17 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-03 22:42:17 (GMT)
commit8526a945a09656338dcccec23ac69269462a34e0 (patch)
tree6d7a53810a804a6bf51c6374766fe74fac7b497c
parentc3816b70e0d038788e86fb9208095a506842a1f5 (diff)
parent3f9535b7f8cd6a136d392d6be845795522950486 (diff)
downloadcpython-8526a945a09656338dcccec23ac69269462a34e0.zip
cpython-8526a945a09656338dcccec23ac69269462a34e0.tar.gz
cpython-8526a945a09656338dcccec23ac69269462a34e0.tar.bz2
(Merge 3.4) Fix asyncio tests on Windows: wait for the subprocess exit
Before, regrtest failed to remove the temporary test directory because the process was still running in this directory.
-rw-r--r--Lib/test/test_asyncio/test_windows_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_windows_utils.py b/Lib/test/test_asyncio/test_windows_utils.py
index b1f81da..7ea3a6d 100644
--- a/Lib/test/test_asyncio/test_windows_utils.py
+++ b/Lib/test/test_asyncio/test_windows_utils.py
@@ -164,6 +164,8 @@ class PopenTests(unittest.TestCase):
self.assertTrue(msg.upper().rstrip().startswith(out))
self.assertTrue(b"stderr".startswith(err))
+ p.wait()
+
if __name__ == '__main__':
unittest.main()