Merge with 3.1

This commit is contained in:
Ross Lagerwall 2011-03-26 21:21:46 +02:00
commit 17ace7a07c
3 changed files with 5 additions and 0 deletions

View file

@ -1226,6 +1226,7 @@ class POSIXProcessTestCase(BaseTestCase):
stdout=subprocess.PIPE,
bufsize=0)
f = p.stdout
self.addCleanup(f.close)
try:
self.assertEqual(f.read(4), b"appl")
self.assertIn(f, select.select([f], [], [], 0.0)[0])