def test_ordering(self):
        p = pexpect.spawn(self.PYTHONBIN)
        self._ordering(p)
This tests expect() for which pattern is returned
dataset/ETHPy150Open Calysto/metakernel/metakernel/tests/test_expect.py/ExpectTestCase.test_ordering