diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-15 20:08:17 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-15 20:08:17 +0200 |
| commit | c1f70d0a5039d340ccb4d5a66a75dbfcd63bd516 (patch) | |
| tree | b392b32146ec858d49c70db45094a8c60fa230de /psutil/tests/test_linux.py | |
| parent | 2c113c6746d3558e47e575b4169ac15b636ddf57 (diff) | |
| download | psutil-c1f70d0a5039d340ccb4d5a66a75dbfcd63bd516.tar.gz | |
#1758: fix github failures
Diffstat (limited to 'psutil/tests/test_linux.py')
| -rwxr-xr-x | psutil/tests/test_linux.py | 2 |
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('.'))) |
