diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2022-09-04 22:15:06 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2022-09-04 22:15:06 +0200 |
commit | 9f9a82d02c901f62512236b44edb050f84cbe5b6 (patch) | |
tree | 27c4a8b672290a54c16e9f147d17f874a7fa5079 /psutil/tests | |
parent | 274dd47958c9d6bf306e3cff1d3a51e11c3970f0 (diff) | |
download | psutil-9f9a82d02c901f62512236b44edb050f84cbe5b6.tar.gz |
fix venvrelease-5.9.2
Diffstat (limited to 'psutil/tests')
-rwxr-xr-x | psutil/tests/test_contracts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_contracts.py b/psutil/tests/test_contracts.py index 5c927d68..0d900669 100755 --- a/psutil/tests/test_contracts.py +++ b/psutil/tests/test_contracts.py @@ -680,7 +680,7 @@ class TestFetchAllProcesses(PsutilTestCase): for fname in nt._fields: value = getattr(nt, fname) if fname == 'path': - if not value.startswith('['): + if not value.startswith(("[", "anon_inode:")): assert os.path.isabs(nt.path), nt.path # commented as on Linux we might get # '/foo/bar (deleted)' |