diff options
author | Jeff Quast <contact@jeffquast.com> | 2015-09-20 15:48:10 -0700 |
---|---|---|
committer | Jeff Quast <contact@jeffquast.com> | 2015-09-20 15:48:10 -0700 |
commit | 55b1648932513a16e675ee8534e981a603c08712 (patch) | |
tree | a2455eed1faeb6ea14edbc6f4d1064eacd74e1ba | |
parent | faff3e605b2e1d6d30d3f9ded95473ccfbb8daf0 (diff) | |
download | pexpect-git-55b1648932513a16e675ee8534e981a603c08712.tar.gz |
Use ^C in test_interact_escape_None, ^D unreliable
Test intermittently fails PyPy and Travis-CI hosts, where EOF
is incorrectly interpreted instead of captured as exception.
-rwxr-xr-x | tests/test_interact.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py index 86a5b7c..6b60f8f 100755 --- a/tests/test_interact.py +++ b/tests/test_interact.py @@ -65,8 +65,7 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase): p.sendcontrol(']') p.sendline('') p.expect('<out>\x1d') - p.sendcontrol('d') - p.expect('<eof>') + p.sendcontrol('c') p.expect_exact('Escaped interact') p.expect(pexpect.EOF) assert not p.isalive() |