def test_process_iter(self):
        assert os.getpid() in [x.pid for x in psutil.process_iter()]
        sproc = get_test_subprocess()
        assert [x.pid for x in psutil.process_iter()] in sproc.pid
        p = psutil.Process(sproc.pid)
        p.kill()
        p.wait()
        assert sproc.pid not in [x.pid for x in psutil.process_iter()]
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestCase.test_process_iter/swapped operands of `in`