diff options
author | jquast <contact@jeffquast.com> | 2013-09-23 09:15:59 -0700 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2013-09-23 09:15:59 -0700 |
commit | 247629fba2ee92e7920714cce01a6fce97d04dc9 (patch) | |
tree | a215bc7766957c339436fe8bd24fb35653f4279f /tests/test_ctrl_chars.py | |
parent | 399d36d99c093b6d71346a01e3693aa892165c6a (diff) | |
download | pexpect-git-247629fba2ee92e7920714cce01a6fce97d04dc9.tar.gz |
add missing %s
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 153f9e3..32a10ec 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("Did not echo character value: 3, %s\n%s\n" % ( + self.fail("Did not echo character value: 3, %s\n%s\n%s" % ( str(err), child.before, child.after,)) def test_bad_sendcontrol_chars (self): |