[Pytest-commit] commit/pytest: Anthon van der Neut: argcomplete_win: skip testing of argcomplete on windows
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Sep 10 08:25:33 CEST 2013
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/5239f31ebf82/
Changeset: 5239f31ebf82
User: Anthon van der Neut
Date: 2013-09-09 12:41:29
Summary: argcomplete_win: skip testing of argcomplete on windows
Affected #: 1 file
diff -r a2b5a4f7d4451f5aa1d270ec928520ee081ed003 -r 5239f31ebf82eee712fc9f54f414e34afdfc1ddf testing/test_argcomplete.py
--- a/testing/test_argcomplete.py
+++ b/testing/test_argcomplete.py
@@ -72,6 +72,7 @@
# 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 @@
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:
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list