summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_namespaces.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_namespaces.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_namespaces.py')
-rw-r--r--setuptools/tests/test_namespaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_namespaces.py b/setuptools/tests/test_namespaces.py
index da19bd79..670ccee9 100644
--- a/setuptools/tests/test_namespaces.py
+++ b/setuptools/tests/test_namespaces.py
@@ -12,7 +12,7 @@ from setuptools.command import test
class TestNamespaces:
- @pytest.mark.xfail(
+ @pytest.mark.skipif(
sys.version_info < (3, 5),
reason="Requires importlib.util.module_from_spec",
)