aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-08-08 20:58:57 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-08-08 20:58:57 -0400
commit7cf009a7e39270e1e1d13d913e0c352fb00534c0 (patch)
tree38ca86355b92aecb80c5b09d16aa8ab393b99cf0 /setuptools/tests
parent521987da809e63ee51a63aa45dbe372d40deb8f7 (diff)
downloadexternal_python_setuptools-7cf009a7e39270e1e1d13d913e0c352fb00534c0.tar.gz
external_python_setuptools-7cf009a7e39270e1e1d13d913e0c352fb00534c0.tar.bz2
external_python_setuptools-7cf009a7e39270e1e1d13d913e0c352fb00534c0.zip
Expect test to fail on PyPy due to implicit import during startup.
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_distutils_adoption.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py
index bb8e34d5..daccc473 100644
--- a/setuptools/tests/test_distutils_adoption.py
+++ b/setuptools/tests/test_distutils_adoption.py
@@ -9,6 +9,9 @@ import jaraco.envs
import path
+IS_PYPY = '__pypy__' in sys.builtin_module_names
+
+
class VirtualEnv(jaraco.envs.VirtualEnv):
name = '.env'
@@ -57,6 +60,7 @@ def test_distutils_local_with_setuptools(venv):
assert venv.name in loc.split(os.sep)
+@pytest.mark.xfail('IS_PYPY', reason='pypy imports distutils on startup')
def test_distutils_local(venv):
"""
Even without importing, the setuptools-local copy of distutils is