Commit 8581c7e1 authored by Brian Curtin's avatar Brian Curtin

Merged revisions 86081 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86081 | brian.curtin | 2010-11-01 09:00:33 -0500 (Mon, 01 Nov 2010) | 2 lines

  Close subprocess pipes to clear ResourceWarning messages in debug mode.
........
parent 9e2fadcb
......@@ -186,6 +186,7 @@ sys.stdout.buffer.write(path)"""
code = '; '.join(code)
p = _spawn_python('-S', '-c', code)
stdout, _ = p.communicate()
p.stdout.close()
self.assertTrue(path1.encode('ascii') in stdout)
self.assertTrue(path2.encode('ascii') in stdout)
......
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