Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2736c5d + 0d7cda3 commit 74adbaaCopy full SHA for 74adbaa
1 file changed
Lib/test/test_subprocess.py
@@ -1501,6 +1501,8 @@ def test_zombie_fast_process_del(self):
1501
'time.sleep(0.2)'],
1502
stdout=subprocess.PIPE,
1503
stderr=subprocess.PIPE)
1504
+ self.addCleanup(p.stdout.close)
1505
+ self.addCleanup(p.stderr.close)
1506
ident = id(p)
1507
pid = p.pid
1508
del p
@@ -1518,6 +1520,8 @@ def test_leak_fast_process_del_killed(self):
1518
1520
'time.sleep(3)'],
1519
1521
1522
1523
1524
1525
1526
1527
0 commit comments