aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_sdist.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_sdist.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_sdist.py')
-rw-r--r--setuptools/tests/test_sdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py
index 02222da5..3a203890 100644
--- a/setuptools/tests/test_sdist.py
+++ b/setuptools/tests/test_sdist.py
@@ -20,8 +20,8 @@ from setuptools.command.egg_info import manifest_maker
from setuptools.dist import Distribution
from setuptools.tests import fail_on_ascii
from .text import Filenames
+from . import py3_only
-py3_only = pytest.mark.xfail(six.PY2, reason="Test runs on Python 3 only")
SETUP_ATTRS = {
'name': 'sdist_test',