From 73a04a26a26ac3d025db878cb7c9d7338cff5e8a Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Tue, 2 Jan 2024 15:25:43 +0100 Subject: [PATCH] fix test --- psutil/tests/test_linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))