diff --git a/psutil/tests/test_process_all.py b/psutil/tests/test_process_all.py index 48833a105..c6811f02e 100755 --- a/psutil/tests/test_process_all.py +++ b/psutil/tests/test_process_all.py @@ -412,7 +412,7 @@ def memory_maps(self, ret, info): for fname in nt._fields: value = getattr(nt, fname) if fname == 'path': - if not value.startswith(("[", "anon_inode:")): + if not value.startswith(("[", "anon_inode:", "socket:")): assert os.path.isabs(nt.path), nt.path # commented as on Linux we might get # '/foo/bar (deleted)'