summaryrefslogtreecommitdiff
path: root/tests/test_ctrl_chars.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-09-23 09:40:59 -0700
committerjquast <contact@jeffquast.com>2013-09-23 09:40:59 -0700
commit8a41d70cd89372b2880db599c2226b342eb717d8 (patch)
tree3b9501b6bf854f6ae672a4ae14a61199a5a40d3a /tests/test_ctrl_chars.py
parent10a1e2d5414add3aee923346fce68d9f6373810d (diff)
downloadpexpect-8a41d70cd89372b2880db599c2226b342eb717d8.tar.gz
remove trailing ',', forcing a tuple and breaking
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 1a4e133..8e55284 100755
--- a/tests/test_ctrl_chars.py
+++ b/tests/test_ctrl_chars.py
@@ -78,7 +78,7 @@ class TestCtrlChars(PexpectTestCase.PexpectTestCase):
for ctrl in 'abcdefghijklmnopqrstuvwxyz':
assert child.sendcontrol(ctrl) == 1
# Strange: on travis-ci, getch.py actually displays ^A, not '1' !?
- val = ord(ctrl) - (ord('a') - 1),
+ val = ord(ctrl) - (ord('a') - 1)
alpha = ctrl.upper()
child.expect ('(%d|\^%s)\r\n' % (val, alpha), timeout=2)