summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_manifest.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_manifest.py
parent1fb56a315f92e09d930ab7c2c787adbaead64d76 (diff)
downloadpython-setuptools-git-d3215c10b6f9ccd8940f9345642ee0718f158585.tar.gz
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_manifest.py')
-rw-r--r--setuptools/tests/test_manifest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/tests/test_manifest.py b/setuptools/tests/test_manifest.py
index c9533dda..5edfbea0 100644
--- a/setuptools/tests/test_manifest.py
+++ b/setuptools/tests/test_manifest.py
@@ -15,13 +15,12 @@ from setuptools.command.egg_info import FileList, egg_info, translate_pattern
from setuptools.dist import Distribution
from setuptools.extern import six
from setuptools.tests.textwrap import DALS
+from . import py3_only
import pytest
__metaclass__ = type
-py3_only = pytest.mark.xfail(six.PY2, reason="Test runs on Python 3 only")
-
def make_local_path(s):
"""Converts '/' in a string to os.sep"""