Tests setecho(False) followed by waitnoecho()
(self)
| 261 | raise |
| 262 | |
| 263 | def test_waitnoecho(self): |
| 264 | " Tests setecho(False) followed by waitnoecho() " |
| 265 | p = pexpect.spawn('cat', echo=False, timeout=5) |
| 266 | try: |
| 267 | p.setecho(False) |
| 268 | p.waitnoecho() |
| 269 | except IOError: |
| 270 | if sys.platform.lower().startswith('sunos'): |
| 271 | if hasattr(unittest, 'SkipTest'): |
| 272 | raise unittest.SkipTest("Not supported on this platform.") |
| 273 | return 'skip' |
| 274 | raise |
| 275 | |
| 276 | def test_waitnoecho_order(self): |
| 277 |
nothing calls this directly
no test coverage detected