(self)
| 100 | self.assertEqual(p.after, pexpect.TIMEOUT) |
| 101 | |
| 102 | def test_unexpected_eof(self): |
| 103 | p = PopenSpawn('ls -l /bin') |
| 104 | try: |
| 105 | p.expect('_Z_XY_XZ') # Probably never see this in ls output. |
| 106 | except pexpect.EOF: |
| 107 | pass |
| 108 | else: |
| 109 | self.fail('Expected an EOF exception.') |
| 110 | |
| 111 | def test_bad_arg(self): |
| 112 | p = PopenSpawn('cat') |
nothing calls this directly
no test coverage detected