Skip to content

Commit

Permalink
Attempt to avoid errors in PyPY (test of hypothesis)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Apr 22, 2024
1 parent 98523ac commit 24066c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setuptools/tests/test_build_py.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import platform
import stat
import shutil
import warnings
Expand Down Expand Up @@ -157,6 +158,11 @@ def test_executable_data(tmpdir_cwd):
}


@pytest.mark.skipif(
platform.python_implementation() == 'PyPy',
reason="Playing with warning filters might be causing unexpected problems in PyPy, "
"see discussion in pypa/setuptools#4255.",
)
def test_excluded_subpackages(tmpdir_cwd):
jaraco.path.build(EXAMPLE_WITH_MANIFEST)
dist = Distribution({"script_name": "%PEP 517%"})
Expand Down

0 comments on commit 24066c6

Please sign in to comment.