mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merge with 3.1
This commit is contained in:
commit
17ace7a07c
3 changed files with 5 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue