We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1737cac commit c18ec8eCopy full SHA for c18ec8e
tests/test_api.py
@@ -625,7 +625,7 @@ def test_warn_once(self) -> None:
625
626
assert_coverage_warnings(warns, "Warning, warning 1! (bot)")
627
# No "Warning, warning 2!" in warns
628
- assert len(warns) == 1
+ assert len(get_coverage_warnings(warns)) == 1
629
630
def test_warnings_with_urls(self) -> None:
631
with pytest.warns(Warning) as warns:
0 commit comments