summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 6330c8a7..62f03235 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -288,7 +288,7 @@ def test_output_redirection(base_app):
os.remove(filename)
-@pytest.mark.skipif(getpass.getuser() == 'travis' and sys.platform.startswith('linux'),
+@pytest.mark.skipif(sys.platform.startswith('linux') and getpass.getuser() == 'travis',
reason="Unit test passes on Ubuntu 16.04 and Debian 8.7, but fails on TravisCI Linux containers")
def test_input_redirection(base_app, request):
test_dir = os.path.dirname(request.module.__file__)