diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-01 16:46:23 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-01 16:46:23 +0200 |
commit | 0925da3f28c5c542e709e3cf09de431e0c7013f2 (patch) | |
tree | e39bc10e8dc348fdc0a3d26067e856666aad3f3a | |
parent | f2b8538ac6654875935b02b01a25252f087e4f6d (diff) | |
download | psutil-0925da3f28c5c542e709e3cf09de431e0c7013f2.tar.gz |
debugging info for test which fails sometimes https://ci.appveyor.com/project/giampaolo/psutil/build/53/job/i0yhnlghw383u25v
-rw-r--r-- | test/test_psutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_psutil.py b/test/test_psutil.py index 73d11869..b12275de 100644 --- a/test/test_psutil.py +++ b/test/test_psutil.py @@ -2147,11 +2147,11 @@ class TestProcess(unittest.TestCase): sproc = get_test_subprocess() p = psutil.Process(sproc.pid) p.terminate() - p.wait() + retcode = p.wait() # if WINDOWS: # wait_for_pid(p.pid) self.assertFalse(p.is_running()) - self.assertFalse(p.pid in psutil.pids()) + self.assertFalse(p.pid in psutil.pids(), msg="retcode = %s" % retcode) excluded_names = ['pid', 'is_running', 'wait', 'create_time'] if LINUX and not RLIMIT_SUPPORT: |