diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-30 17:17:24 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-30 17:17:24 +0100 |
commit | 8291347dd0f89131800983e6412b534911df695c (patch) | |
tree | c75c44efcba8c2daa782c1676032535e17a77603 | |
parent | d717b45eb5559dceead926de62a2bf42ca690fbb (diff) | |
download | psutil-8291347dd0f89131800983e6412b534911df695c.tar.gz |
try to fix occasional windows failure
-rwxr-xr-x | psutil/tests/test_process.py | 1 |
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) |