summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-02-26 11:35:16 -0800
committerGiampaolo Rodola <g.rodola@gmail.com>2019-02-26 11:35:16 -0800
commited9653aa4835289f3bf64b7956dfcc739f2a216b (patch)
tree63d10e22c9062e50b25ad4c9e7cfe7a8a47e00a9
parent63235743d51f5cdef5315c430a87c6bf8da9dbf3 (diff)
downloadpsutil-ed9653aa4835289f3bf64b7956dfcc739f2a216b.tar.gz
fix win test
-rwxr-xr-xpsutil/tests/test_process.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index e8f03f7a..7380b60c 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -1072,9 +1072,6 @@ class TestProcess(unittest.TestCase):
lowest_pid = psutil.pids()[0]
self.assertEqual(p1.parents()[-1].pid, lowest_pid)
self.assertEqual(p2.parents()[-1].pid, lowest_pid)
- else:
- self.assertEqual(p1.parents()[-1].name(), "explorer.exe")
- self.assertEqual(p2.parents()[-1].name(), "explorer.exe")
def test_children(self):
reap_children(recursive=True)