diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 3594bbfc1..0418fd54e 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -81,7 +81,7 @@ def spawn_psproc(self, *args, **kwargs): try: return psutil.Process(sproc.pid) except psutil.NoSuchProcess: - self.assertProcessGone(sproc.pid) + self.assertPidGone(sproc.pid) raise # ---