Skip to content

Commit

Permalink
Add pragma for xfail condition
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Nov 20, 2023
1 parent 6d952d7 commit 7316502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_verbosity_level(tmp_path, monkeypatch, flag, expected_level):
def _flaky_on_pypy(func):
try:
func()
except AssertionError:
except AssertionError: # pragma: no cover
if IS_PYPY:
msg = "Flaky monkeypatch on PyPy"
pytest.xfail(f"{msg}. Original discussion in #3707, #3709.")
Expand Down

0 comments on commit 7316502

Please sign in to comment.