summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 618ac532..9f8a4044 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1528,6 +1528,8 @@ def test_poutput_none(base_app):
assert out == expected
+@pytest.mark.skipif(sys.platform == 'win32',
+ reason="pexpect doesn't have a spawn() function on Windows")
def test_persistent_history(request):
test_dir = os.path.dirname(request.module.__file__)
persistent_app = os.path.join(test_dir, '..', 'examples', 'persistent_history.py')