diff options
author | Jeff Quast <contact@jeffquast.com> | 2014-06-24 21:27:07 +0000 |
---|---|---|
committer | Jeff Quast <contact@jeffquast.com> | 2014-06-24 21:27:07 +0000 |
commit | 995f9daf88387523129577048a6ada3de5fecfa1 (patch) | |
tree | f2bb950191efe6ebd601addbd8af181f8671814d | |
parent | 91d17a7192fe80879474587d7f1b7610d31bf782 (diff) | |
download | pexpect-995f9daf88387523129577048a6ada3de5fecfa1.tar.gz |
Use const child._VINTR instead of '3'
-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 d84f01b..7c9c372 100755 --- a/tests/test_ctrl_chars.py +++ b/tests/test_ctrl_chars.py @@ -54,7 +54,7 @@ class TestCtrlChars(PexpectTestCase.PexpectTestCase): child = pexpect.spawn('python getch.py', echo=False, timeout=5) child.expect('READY') child.sendintr() - child.expect('3<STOP>') + child.expect(str(child._VINTR) + '<STOP>') child.send(byte(0)) child.expect('0<STOP>') |