summaryrefslogtreecommitdiff
path: root/psutil/tests/test_bsd.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/test_bsd.py')
-rwxr-xr-xpsutil/tests/test_bsd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/psutil/tests/test_bsd.py b/psutil/tests/test_bsd.py
index 29ea384d..1ce54b19 100755
--- a/psutil/tests/test_bsd.py
+++ b/psutil/tests/test_bsd.py
@@ -131,6 +131,7 @@ class BSDTestCase(PsutilTestCase):
num = sysctl('hw.physmem')
self.assertEqual(num, psutil.virtual_memory().total)
+ @unittest.skipIf(not which('ifconfig'), "ifconfig cmd not available")
def test_net_if_stats(self):
for name, stats in psutil.net_if_stats().items():
try: