diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-06-07 13:26:21 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-06-07 13:26:21 +0200 |
| commit | 4a20d974515e408469f6018d5336bb7422f51d1c (patch) | |
| tree | 4fc1bd9839fd6f3979058d71f4e71b2bbb6fe9ab /psutil/tests | |
| parent | 0a6953cfd59009b422b808b2c59e37077c0bdcb1 (diff) | |
| download | psutil-4a20d974515e408469f6018d5336bb7422f51d1c.tar.gz | |
fix OSX failure
Diffstat (limited to 'psutil/tests')
| -rwxr-xr-x | psutil/tests/test_osx.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/tests/test_osx.py b/psutil/tests/test_osx.py index 5658f988..c8214f14 100755 --- a/psutil/tests/test_osx.py +++ b/psutil/tests/test_osx.py @@ -154,7 +154,8 @@ class TestZombieProcessAPIs(unittest.TestCase): self.assertRaises(psutil.ZombieProcess, self.p.num_fds) def test_threads(self): - self.assertRaises(psutil.ZombieProcess, self.p.threads) + self.assertRaises((psutil.ZombieProcess, psutil.AccessDenied), + self.p.threads) def test_memory_maps(self): self.assertRaises(psutil.ZombieProcess, self.p.memory_maps) |
