diff options
author | jquast <contact@jeffquast.com> | 2013-09-23 07:51:55 -0700 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2013-09-23 07:51:55 -0700 |
commit | 9ed54e756aea4d1d6dbe0327628d37e02b6a8561 (patch) | |
tree | 766b3a5f81140fd67a485732929aca49d169a5b7 /tests/test_ctrl_chars.py | |
parent | e7352f44a33f595d0b0cc8f54e9c6d916957d716 (diff) | |
download | pexpect-git-9ed54e756aea4d1d6dbe0327628d37e02b6a8561.tar.gz |
KeyboardInterrupt may need catch in some platforms
need to read full p.before, p.after to discover it in this test case.
Diffstat (limited to 'tests/test_ctrl_chars.py')
-rwxr-xr-x | tests/test_ctrl_chars.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ctrl_chars.py b/tests/test_ctrl_chars.py index 902edeb..4675c79 100755 --- a/tests/test_ctrl_chars.py +++ b/tests/test_ctrl_chars.py @@ -58,7 +58,7 @@ class TestCtrlChars(PexpectTestCase.PexpectTestCase): child.expect ('3\r\n') except Exception: err = sys.exc_info()[1] - self.fail(" ".join(["Did not echo character value: 3\n", str(err)])) + self.fail(" ".join(["Did not echo character value: 3\n", str(err), child.before, child.after])) def test_bad_sendcontrol_chars (self): |