def test_expect_echo (self):
        p = pexpect.spawn('cat', echo=True, timeout=5)
        self._expect_echo(p)
This tests that echo is on by default.
dataset/ETHPy150Open Calysto/metakernel/metakernel/tests/test_expect.py/ExpectTestCase.test_expect_echo