diff options
| author | jquast <contact@jeffquast.com> | 2013-09-23 09:40:59 -0700 |
|---|---|---|
| committer | jquast <contact@jeffquast.com> | 2013-09-23 09:40:59 -0700 |
| commit | 8a41d70cd89372b2880db599c2226b342eb717d8 (patch) | |
| tree | 3b9501b6bf854f6ae672a4ae14a61199a5a40d3a /tests/test_ctrl_chars.py | |
| parent | 10a1e2d5414add3aee923346fce68d9f6373810d (diff) | |
| download | pexpect-8a41d70cd89372b2880db599c2226b342eb717d8.tar.gz | |
remove trailing ',', forcing a tuple and breaking
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 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) |
