Skip to content

Commit

Permalink
Expect test to fail on PyPy due to implicit import during startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 9, 2020
1 parent 521987d commit 7cf009a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setuptools/tests/test_distutils_adoption.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import path


IS_PYPY = '__pypy__' in sys.builtin_module_names


class VirtualEnv(jaraco.envs.VirtualEnv):
name = '.env'

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7cf009a

Please sign in to comment.