diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-06-14 12:37:09 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-06-14 12:37:09 +0200 |
commit | d3d150bcf1f5cba83ea23e6a574fc9c518129447 (patch) | |
tree | fa6bd388a336bbf9301ebf2dbc500d9fb017e043 | |
parent | c0204afa4849230cd4f31197ffe691f7a46b2423 (diff) | |
download | psutil-d3d150bcf1f5cba83ea23e6a574fc9c518129447.tar.gz |
fix failing test on OSX
-rw-r--r-- | test/test_memory_leaks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_memory_leaks.py b/test/test_memory_leaks.py index 5b31fe6c..c95734c8 100644 --- a/test/test_memory_leaks.py +++ b/test/test_memory_leaks.py @@ -419,6 +419,7 @@ class TestModuleFunctionsLeaks(Base): @unittest.skipIf(LINUX, "not worth being tested on Linux (pure python)") + @unittest.skipIf(OSX and os.getuid() != 0, "need root access") def test_net_connections(self): self.execute('net_connections') |