aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_test.py
diff options
context:
space:
mode:
authorNikolaus Waxweiler <madigens@gmail.com>2018-10-27 11:25:51 +0100
committerNikolaus Waxweiler <madigens@gmail.com>2018-10-27 11:25:51 +0100
commitd3215c10b6f9ccd8940f9345642ee0718f158585 (patch)
tree66371256c4a4bba077d3d85841bd216e36a382e0 /setuptools/tests/test_test.py
parent1fb56a315f92e09d930ab7c2c787adbaead64d76 (diff)
downloadexternal_python_setuptools-d3215c10b6f9ccd8940f9345642ee0718f158585.tar.gz
external_python_setuptools-d3215c10b6f9ccd8940f9345642ee0718f158585.tar.bz2
external_python_setuptools-d3215c10b6f9ccd8940f9345642ee0718f158585.zip
Mark Py 2/3-only tests as skip instead of xfail
Also reuse pre-defined py2_only and py3_only decorators where appropriate.
Diffstat (limited to 'setuptools/tests/test_test.py')
-rw-r--r--setuptools/tests/test_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py
index 960527bc..4ba70484 100644
--- a/setuptools/tests/test_test.py
+++ b/setuptools/tests/test_test.py
@@ -93,7 +93,7 @@ def test_test(capfd):
assert out == 'Foo\n'
-@pytest.mark.xfail(
+@pytest.mark.skipif(
sys.version_info < (2, 7),
reason="No discover support for unittest on Python 2.6",
)