(self, n)
| 77 | self.assertEqual(e.expect_exact([b'inquisition', '%d' % n], searchwindowsize=20), 1) |
| 78 | |
| 79 | def faster_range(self, n): |
| 80 | e = pexpect.spawn(sys.executable, timeout=100) |
| 81 | self.assertEqual(e.expect(b'>>>'), 0) |
| 82 | e.sendline(('list(range(1, %d+1))' % n).encode('ascii')) |
| 83 | self.assertEqual(e.expect([b'inquisition', '%d' % n]), 1) |
| 84 | |
| 85 | def test_100000(self): |
| 86 | if platform.python_implementation() == 'PyPy': |
no test coverage detected