summaryrefslogtreecommitdiff
path: root/psutil/tests/test_linux.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/test_linux.py')
-rwxr-xr-xpsutil/tests/test_linux.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index eb694c33..9cc518bb 100755
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -138,6 +138,8 @@ def vmstat(stat):
def get_free_version_info():
out = sh("free -V").strip()
+ if 'UNKNOWN' in out:
+ raise unittest.SkipTest("can't determine free version")
return tuple(map(int, out.split()[-1].split('.')))