diff options
author | Jeff Quast <contact@jeffquast.com> | 2015-04-25 17:12:21 -0700 |
---|---|---|
committer | Jeff Quast <contact@jeffquast.com> | 2015-04-25 17:12:21 -0700 |
commit | 924b014c3ecc2db01d7722c0374b3934151b9c7b (patch) | |
tree | c886533fe9d5f9693f915a6f0751192f65616a9e | |
parent | 4511949f6e37a1582129cdc68e0176bf263b5b76 (diff) | |
download | pexpect-924b014c3ecc2db01d7722c0374b3934151b9c7b.tar.gz |
bugfix timeout parameter in maxcanon test
-rw-r--r-- | tests/test_maxcanon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_maxcanon.py b/tests/test_maxcanon.py index 3d3f558..772a3b7 100644 --- a/tests/test_maxcanon.py +++ b/tests/test_maxcanon.py @@ -87,8 +87,8 @@ class TestCaseCanon(PexpectTestCase.PexpectTestCase): child.expect_exact('_' * send_bytes) # BEL is not found, - with self.assertRaises(pexpect.TIMEOUT, timeout=5): - child.expect_exact('\a') + with self.assertRaises(pexpect.TIMEOUT): + child.expect_exact('\a', timeout=1) # cleanup, child.sendeof() # exit cat(1) |