summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-01-30 17:17:24 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-01-30 17:17:24 +0100
commit8291347dd0f89131800983e6412b534911df695c (patch)
treec75c44efcba8c2daa782c1676032535e17a77603
parentd717b45eb5559dceead926de62a2bf42ca690fbb (diff)
downloadpsutil-8291347dd0f89131800983e6412b534911df695c.tar.gz
try to fix occasional windows failure
-rwxr-xr-xpsutil/tests/test_process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index 161d5e5e..089809b6 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -1149,6 +1149,7 @@ class TestProcess(unittest.TestCase):
self.fail("num ctx switches still the same after 50.000 iterations")
def test_parent_ppid(self):
+ reap_children(recursive=True)
this_parent = os.getpid()
sproc = get_test_subprocess()
p = psutil.Process(sproc.pid)