Skip to content

Commit 92e22dd

Browse files
committed
Manually remove file to try to stop flaky tests on PyPy
1 parent caa48ab commit 92e22dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setuptools/tests/config/test_setupcfg.py

+2
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ def test_invalid_options_previously_deprecated(
458458
with pytest.warns(SetuptoolsDeprecationWarning, match=re.escape(error_msg)):
459459
dist = get_dist(tmpdir).__enter__()
460460

461+
tmpdir.join('setup.cfg').remove()
462+
461463
for field, value in invalid.items():
462464
attr = field.replace("-", "_").lower()
463465
assert getattr(dist.metadata, attr) == value

0 commit comments

Comments
 (0)