Skip to content

Commit 7316502

Browse files
committed
Add pragma for xfail condition
1 parent 6d952d7 commit 7316502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/tests/test_logging.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_verbosity_level(tmp_path, monkeypatch, flag, expected_level):
4545
def _flaky_on_pypy(func):
4646
try:
4747
func()
48-
except AssertionError:
48+
except AssertionError: # pragma: no cover
4949
if IS_PYPY:
5050
msg = "Flaky monkeypatch on PyPy"
5151
pytest.xfail(f"{msg}. Original discussion in #3707, #3709.")

0 commit comments

Comments
 (0)