Skip to content

Commit 8209a5a

Browse files
committed
Try increasing timeout to see if it fixes unit test on at least some platforms
1 parent 6eb8dde commit 8209a5a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_cmd2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ def test_persistent_history(request):
15321532
test_dir = os.path.dirname(request.module.__file__)
15331533
persistent_app = os.path.join(test_dir, '..', 'examples', 'persistent_history.py')
15341534

1535-
# STart an instance of the persistent history example and send it a few commands
1535+
# Start an instance of the persistent history example and send it a few commands
15361536
child = pexpect.spawn(persistent_app)
15371537
prompt = 'ph> '
15381538
child.expect(prompt)
@@ -1548,7 +1548,7 @@ def test_persistent_history(request):
15481548
child2 = pexpect.spawn(persistent_app)
15491549
child2.expect(prompt)
15501550
child2.send(up_arrow)
1551-
child2.expect('quit', timeout=5)
1551+
child2.expect('quit')
15521552
assert child2.after == b'quit'
15531553

15541554

0 commit comments

Comments
 (0)