def test_expect_index (self):
        p = pexpect.spawn('cat', echo=False, timeout=5)
        self._expect_index(p)
This tests that mixed list of regex strings, TIMEOUT, and EOF all
dataset/ETHPy150Open Calysto/metakernel/metakernel/tests/test_expect.py/ExpectTestCase.test_expect_index