From 8209a5ada836355148496a543f14179a545ee79c Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 9 Feb 2018 00:17:44 -0500 Subject: Try increasing timeout to see if it fixes unit test on at least some platforms --- tests/test_cmd2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_cmd2.py') diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 454fdc1f..28f133e6 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1532,7 +1532,7 @@ def test_persistent_history(request): test_dir = os.path.dirname(request.module.__file__) persistent_app = os.path.join(test_dir, '..', 'examples', 'persistent_history.py') - # STart an instance of the persistent history example and send it a few commands + # Start an instance of the persistent history example and send it a few commands child = pexpect.spawn(persistent_app) prompt = 'ph> ' child.expect(prompt) @@ -1548,7 +1548,7 @@ def test_persistent_history(request): child2 = pexpect.spawn(persistent_app) child2.expect(prompt) child2.send(up_arrow) - child2.expect('quit', timeout=5) + child2.expect('quit') assert child2.after == b'quit' -- cgit v1.2.1