diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-11-21 23:15:37 -0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-11-21 23:15:37 -0800 |
commit | 02a799a21d5e25a074ad968bb4e7ff012fb737c4 (patch) | |
tree | 0ddb848376f9e3333dd5571751b82faa9752a3fe /psutil/tests/test_process.py | |
parent | 81796561fc3e485e64f2064043078cdeeab0c780 (diff) | |
download | psutil-shared-mem.tar.gz |
also provide private wset, which is supposed to be different than USSshared-mem
Diffstat (limited to 'psutil/tests/test_process.py')
-rwxr-xr-x | psutil/tests/test_process.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index a92e84ce..c63ee09f 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -613,8 +613,9 @@ class TestProcess(unittest.TestCase): self.assertGreaterEqual(mem.pss, 0) self.assertGreaterEqual(mem.swap, 0) if WINDOWS: - self.assertGreaterEqual(mem.shared, 0) - self.assertGreaterEqual(mem.shareable, 0) + self.assertGreaterEqual(mem.wset_private, 0) + self.assertGreaterEqual(mem.wset_shared, 0) + self.assertGreaterEqual(mem.wset_shareable, 0) @unittest.skipIf(not HAS_MEMORY_MAPS, "not supported") def test_memory_maps(self): |