From 9ed54e756aea4d1d6dbe0327628d37e02b6a8561 Mon Sep 17 00:00:00 2001 From: jquast Date: Mon, 23 Sep 2013 07:51:55 -0700 Subject: KeyboardInterrupt may need catch in some platforms need to read full p.before, p.after to discover it in this test case. --- tests/test_ctrl_chars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_ctrl_chars.py') 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): -- cgit v1.2.1