diff options
author | Nikolaus Waxweiler <madigens@gmail.com> | 2018-10-27 11:25:51 +0100 |
---|---|---|
committer | Nikolaus Waxweiler <madigens@gmail.com> | 2018-10-27 11:25:51 +0100 |
commit | d3215c10b6f9ccd8940f9345642ee0718f158585 (patch) | |
tree | 66371256c4a4bba077d3d85841bd216e36a382e0 /setuptools/tests/test_namespaces.py | |
parent | 1fb56a315f92e09d930ab7c2c787adbaead64d76 (diff) | |
download | python-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.py | 2 |
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", ) |