diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-09 00:47:56 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-09 00:47:56 -0500 |
commit | d4cd3d033dc78624afed4d5419f14cece4ab586b (patch) | |
tree | f932397e0994234b72386680cfcf6865fd6f98ca | |
parent | 7d4cbc4f2fcfe1cc2375146b572301478f1c1779 (diff) | |
download | cmd2-git-d4cd3d033dc78624afed4d5419f14cece4ab586b.tar.gz |
Skip the pexpect-based unit test on Windows due to the pexpect API being different there
-rw-r--r-- | tests/test_cmd2.py | 2 |
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') |