Kaydet (Commit) 3f9535b7 authored tarafından Victor Stinner's avatar Victor Stinner

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.
üst 27d41125
......@@ -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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment