summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 14:21:21 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 14:21:21 -0400
commitf77abb09888c6ea3f6d8dadb28de46c36f035459 (patch)
tree628596c3274f058606c8f606f950b602891b548c
parent15b043c51433e8fd3c5495c3275e3156b5cbc3f6 (diff)
downloadcmd2-git-f77abb09888c6ea3f6d8dadb28de46c36f035459.tar.gz
Skipping unit test on non-Windows because of unreliable behavior on TravisCI and Azure DevOps platforms
-rw-r--r--tests/test_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 262e6c54..edb6ca68 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -234,7 +234,8 @@ def test_proc_reader_send_sigint(pr_none):
else:
assert ret_code == -signal.SIGINT
-@pytest.mark.skipif(sys.platform == 'linux', reason="Test doesn't work correctly on TravisCI")
+@pytest.mark.skipif(not sys.platform.startswith('win'),
+ reason="Test doesn't work correctly on TravisCI and is unreliable on Azure DevOps macOS")
def test_proc_reader_terminate(pr_none):
assert pr_none._proc.poll() is None
pr_none.terminate()