cpython: f78a682a3515 (original) (raw)

Mercurial > cpython

changeset 102615:f78a682a3515 3.5

Issue #26741: Clean up subprocess.Popen object in test_poll [#26741]

Martin Panter vadmium+py@gmail.com
date Fri, 12 Aug 2016 11:59:52 +0000
parents 6a335f59c2ba
children 129c601e7bfa 7ff3ce0dfd45
files Lib/test/test_poll.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_poll.py 3

line wrap: on

line diff

--- a/Lib/test/test_poll.py +++ b/Lib/test/test_poll.py @@ -125,6 +125,8 @@ class PollTests(unittest.TestCase): cmd = 'for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; done' proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, bufsize=0)

@@ -147,7 +149,6 @@ class PollTests(unittest.TestCase): continue else: self.fail('Unexpected return value from select.poll: %s' % fdlist)

def test_poll3(self): # test int overflow