diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-12-05 09:58:07 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-12-05 09:58:07 +0100 |
commit | 82c77dc888e8a44a4f86aecc387c30b42150eb7a (patch) | |
tree | bb132529f6b760c13d17230613cef2adbe8fca26 | |
parent | c0b1ee00b770bff34c49b1ad9242f86e24cc5a34 (diff) | |
download | psutil-82c77dc888e8a44a4f86aecc387c30b42150eb7a.tar.gz |
fix test
-rwxr-xr-x | psutil/tests/test_process.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index 3a4e8b8d..d5c2cd85 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -1389,9 +1389,9 @@ class TestProcess(unittest.TestCase): d.pop("PLAT", None) d.pop("HOME", None) if OSX: - d.pop("__CF_USER_TEXT_ENCODING") - d.pop("VERSIONER_PYTHON_PREFER_32_BIT") - d.pop("VERSIONER_PYTHON_VERSION") + d.pop("__CF_USER_TEXT_ENCODING", None) + d.pop("VERSIONER_PYTHON_PREFER_32_BIT", None) + d.pop("VERSIONER_PYTHON_VERSION", None) return dict( [(k.rstrip("\r\n"), v.rstrip("\r\n")) for k, v in d.items()]) |