diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-31 16:38:58 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-31 16:38:58 +0100 |
commit | db7a18a25facf8651844b84df946a7cf7997a346 (patch) | |
tree | 6da49a0b38fbc6feae7deeec0accd3480784b4a1 | |
parent | 88e96ffaafb8422121cd98775a408cd13bdbd572 (diff) | |
download | psutil-db7a18a25facf8651844b84df946a7cf7997a346.tar.gz |
fix test
-rwxr-xr-x | psutil/tests/test_system.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py index 753e5269..18a5ae2d 100755 --- a/psutil/tests/test_system.py +++ b/psutil/tests/test_system.py @@ -111,7 +111,7 @@ class TestSystemAPIs(unittest.TestCase): gone, alive = test(procs, callback) self.assertIn(sproc3.pid, [x.pid for x in gone]) if POSIX: - self.assertEqual(gone.pop().returncode, signal.SIGTERM) + self.assertEqual(gone.pop().returncode, -signal.SIGTERM) else: self.assertEqual(gone.pop().returncode, 1) self.assertEqual(l, [sproc3.pid]) |