From 7e513f0f444c998f45845b610b58886867e17317 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sat, 28 Dec 2024 11:19:46 +0100 Subject: [PATCH] fix test on bsd --- psutil/tests/test_process.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 45a86c3b7..60831bd60 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -644,7 +644,8 @@ def test_memory_maps(self): if not nt.path.startswith('['): if QEMU_USER and "/bin/qemu-" in nt.path: continue - assert os.path.isabs(nt.path), nt.path + if not (BSD and nt.path == "pvclock"): + assert os.path.isabs(nt.path), nt.path if POSIX: try: assert os.path.exists(nt.path) or os.path.islink(