summaryrefslogtreecommitdiff
path: root/tests/test_ctrl_chars.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-23 08:01:27 -0700
committerjquast <contact@jeffquast.com>2013-09-23 08:01:27 -0700
commit8a181bc6cdbb7a5a13ac1a8fb24f12257a751bce (patch)
tree0a1722c7bbcd2fbb1d82d9bb8af0069986d588fe /tests/test_ctrl_chars.py
parentb55e8c77e28b6fbaefde03d88efa086d712f9c77 (diff)
downloadpexpect-git-8a181bc6cdbb7a5a13ac1a8fb24f12257a751bce.tar.gz
SyntaxError fix, missing comma, woops!
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 4675c79..bb8598f 100755
--- a/tests/test_ctrl_chars.py
+++ b/tests/test_ctrl_chars.py
@@ -78,7 +78,7 @@ class TestCtrlChars(PexpectTestCase.PexpectTestCase):
assert child.sendcontrol(ctrl) == 1
# Strange: on travis-ci, getch.py actually displays ^A, not '1' !?
child.expect ('^(%d|%s)\r\n' % (
- ord(ctrl) - (ord('a') - 1)
+ ord(ctrl) - (ord('a') - 1),
ctrl.upper(),), timeout=1)
# escape character