From b5a83a6af1ba8c0860ba5bae2c5860a5711ebcab Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Mon, 9 Sep 2013 12:41:29 +0200 Subject: [PATCH] argcomplete_win: skip testing of argcomplete on windows --- testing/test_argcomplete.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/test_argcomplete.py b/testing/test_argcomplete.py index 12b96993b..195dc642a 100644 --- a/testing/test_argcomplete.py +++ b/testing/test_argcomplete.py @@ -72,6 +72,7 @@ class FilesCompleter(object): # the following barfs with a syntax error on py2.5 # @pytest.mark.skipif("sys.version_info < (2,6)") class TestArgComplete: + @pytest.mark.skipif("sys.platform == 'win32'") @pytest.mark.skipif("sys.version_info < (2,6)") def test_compare_with_compgen(self): from _pytest._argcomplete import FastFilesCompleter @@ -80,6 +81,7 @@ class TestArgComplete: for x in '/ /d /data qqq'.split(): assert equal_with_bash(x, ffc, fc, out=py.std.sys.stdout) + @pytest.mark.skipif("sys.platform == 'win32'") @pytest.mark.skipif("sys.version_info < (2,6)") def test_remove_dir_prefix(self): """this is not compatible with compgen but it is with bash itself: