Skip to content

Commit

Permalink
bugfix timeout parameter in maxcanon test
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Apr 26, 2015
1 parent 4511949 commit 924b014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_maxcanon.py
Expand Up @@ -87,8 +87,8 @@ def test_under_max_canon(self):
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)
Expand Down

0 comments on commit 924b014

Please sign in to comment.