Skip to content

Commit 7cf009a

Browse files
committed
Expect test to fail on PyPy due to implicit import during startup.
1 parent 521987d commit 7cf009a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setuptools/tests/test_distutils_adoption.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import path
1010

1111

12+
IS_PYPY = '__pypy__' in sys.builtin_module_names
13+
14+
1215
class VirtualEnv(jaraco.envs.VirtualEnv):
1316
name = '.env'
1417

@@ -57,6 +60,7 @@ def test_distutils_local_with_setuptools(venv):
5760
assert venv.name in loc.split(os.sep)
5861

5962

63+
@pytest.mark.xfail('IS_PYPY', reason='pypy imports distutils on startup')
6064
def test_distutils_local(venv):
6165
"""
6266
Even without importing, the setuptools-local copy of distutils is

0 commit comments

Comments
 (0)