summaryrefslogtreecommitdiff
path: root/tests/test_ctrl_chars.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-23 07:51:55 -0700
committerjquast <contact@jeffquast.com>2013-09-23 07:51:55 -0700
commit9ed54e756aea4d1d6dbe0327628d37e02b6a8561 (patch)
tree766b3a5f81140fd67a485732929aca49d169a5b7 /tests/test_ctrl_chars.py
parente7352f44a33f595d0b0cc8f54e9c6d916957d716 (diff)
downloadpexpect-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-xtests/test_ctrl_chars.py2
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):