ignore argcomplete on darwin
--HG-- branch : ignore-autocomplete-on-darwin
This commit is contained in:
parent
a9d1f40c29
commit
ba5d4ae42f
|
@ -72,7 +72,7 @@ class FilesCompleter(object):
|
||||||
# the following barfs with a syntax error on py2.5
|
# the following barfs with a syntax error on py2.5
|
||||||
# @pytest.mark.skipif("sys.version_info < (2,6)")
|
# @pytest.mark.skipif("sys.version_info < (2,6)")
|
||||||
class TestArgComplete:
|
class TestArgComplete:
|
||||||
@pytest.mark.skipif("sys.platform == 'win32'")
|
@pytest.mark.skipif("sys.platform in ('win32', 'darwin')")
|
||||||
@pytest.mark.skipif("sys.version_info < (2,6)")
|
@pytest.mark.skipif("sys.version_info < (2,6)")
|
||||||
def test_compare_with_compgen(self):
|
def test_compare_with_compgen(self):
|
||||||
from _pytest._argcomplete import FastFilesCompleter
|
from _pytest._argcomplete import FastFilesCompleter
|
||||||
|
@ -81,7 +81,7 @@ class TestArgComplete:
|
||||||
for x in '/ /d /data qqq'.split():
|
for x in '/ /d /data qqq'.split():
|
||||||
assert equal_with_bash(x, ffc, fc, out=py.std.sys.stdout)
|
assert equal_with_bash(x, ffc, fc, out=py.std.sys.stdout)
|
||||||
|
|
||||||
@pytest.mark.skipif("sys.platform == 'win32'")
|
@pytest.mark.skipif("sys.platform in ('win32', 'darwin')")
|
||||||
@pytest.mark.skipif("sys.version_info < (2,6)")
|
@pytest.mark.skipif("sys.version_info < (2,6)")
|
||||||
def test_remove_dir_prefix(self):
|
def test_remove_dir_prefix(self):
|
||||||
"""this is not compatible with compgen but it is with bash itself:
|
"""this is not compatible with compgen but it is with bash itself:
|
||||||
|
|
Loading…
Reference in New Issue