commit | 7ef28e8bd7a2557ea9194c5abb5e6007ef559d9d | [log] [tgz] |
---|---|---|
author | Brian Curtin <brian.curtin@gmail.com> | Wed Dec 29 02:41:07 2010 +0000 |
committer | Brian Curtin <brian.curtin@gmail.com> | Wed Dec 29 02:41:07 2010 +0000 |
tree | 6d332fa1d2f38ca6a46180198263f5e7fcf14e76 | |
parent | 57160d72047c51f7bbe5fe4dc168f8b2f508b174 [diff] [blame] |
Close stdout, clear ResourceWarning
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index be0e625..34c3dea 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py
@@ -249,6 +249,7 @@ p = subprocess.Popen([cscript_path, check_script], stdout=subprocess.PIPE) __have_soundcard_cache = not p.wait() + p.stdout.close() return __have_soundcard_cache