diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-11 21:39:23 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-11 21:39:23 -0500 |
| commit | ba6aa7cc011db953ad388a37c482cb00f4fb978d (patch) | |
| tree | 8c822eb41eb1af56741588cbace46ce4867a6924 /setuptools/tests | |
| parent | 354208206b2146eee0c9117de969d98c9aa8447b (diff) | |
| download | python-setuptools-git-ba6aa7cc011db953ad388a37c482cb00f4fb978d.tar.gz | |
Bring back the xfail as it appears to be needed at least on macOS.
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_distutils_adoption.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py index 006480dd..b6b9c00e 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' # Some version of PyPy will import distutils on startup, implicitly @@ -63,6 +66,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 |
