diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py index 72050b544..37b8d4065 100755 --- a/psutil/tests/test_linux.py +++ b/psutil/tests/test_linux.py @@ -1179,7 +1179,7 @@ def test_against_findmnt(self): def parse_findmnt(out): ls = [] - out = sh(["findmnt", "--all", "--list"]) + out = sh(["findmnt", "--all", "--list", "--nofsroot"]) for line in out.splitlines()[1:]: mountpoint, device, fstype, opts = line.split() ls.append((device, mountpoint, fstype, opts))