diff options
Diffstat (limited to 'psutil/tests/test_process.py')
-rwxr-xr-x | psutil/tests/test_process.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 26869e98..bd31ac66 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -1324,6 +1324,12 @@ class TestProcess(PsutilTestCase): for fun, name in ns.iter(ns.all): succeed_or_zombie_p_exc(fun) + if LINUX: + # TODO: broken + # self.assertRaises(psutil.ZombieProcess, zproc.exe) + self.assertRaises(psutil.ZombieProcess, zproc.cwd) + self.assertRaises(psutil.ZombieProcess, zproc.memory_full_info) + assert psutil.pid_exists(zproc.pid) self.assertIn(zproc.pid, psutil.pids()) self.assertIn(zproc.pid, [x.pid for x in psutil.process_iter()]) |