(self)
| 249 | raise |
| 250 | |
| 251 | def test_expect_setecho_off_exact(self): |
| 252 | p = pexpect.spawn('cat', echo=True, timeout=5) |
| 253 | p.expect = p.expect_exact |
| 254 | try: |
| 255 | self._expect_echo_toggle(p) |
| 256 | except IOError: |
| 257 | if sys.platform.lower().startswith('sunos'): |
| 258 | if hasattr(unittest, 'SkipTest'): |
| 259 | raise unittest.SkipTest("Not supported on this platform.") |
| 260 | return 'skip' |
| 261 | raise |
| 262 | |
| 263 | def test_waitnoecho(self): |
| 264 | " Tests setecho(False) followed by waitnoecho() " |
nothing calls this directly
no test coverage detected