def test_comparison(self):
        cmd = PYTHON
        args = ['import time; time.sleep(2)', ]
        p1 = Process('test', 1, cmd, args=args, use_fds=USE_FDS)
        # Make sure the two processes are launched with a measurable
        # difference. (precsion error on Windows)
        time.sleep(0.01)
        p2 = Process('test', 2, cmd, args=args, use_fds=USE_FDS)

        self.assertTrue(p2 < p1)
        self.assertFalse(p1 == p2)
        self.assertTrue(p1 == p1)

        p1.stop()
        p2.stop()
dataset/ETHPy150Open circus-tent/circus/circus/tests/test_process.py/TestProcess.test_comparison/swapped operands of `<`