Skip to content

Commit d4cd3d0

Browse files
committed
Skip the pexpect-based unit test on Windows due to the pexpect API being different there
1 parent 7d4cbc4 commit d4cd3d0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_cmd2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,8 @@ def test_poutput_none(base_app):
15281528
assert out == expected
15291529

15301530

1531+
@pytest.mark.skipif(sys.platform == 'win32',
1532+
reason="pexpect doesn't have a spawn() function on Windows")
15311533
def test_persistent_history(request):
15321534
test_dir = os.path.dirname(request.module.__file__)
15331535
persistent_app = os.path.join(test_dir, '..', 'examples', 'persistent_history.py')

0 commit comments

Comments
 (0)