Skip to content

Commit 70e449b

Browse files
committed
debug: what's going on with this test?
1 parent 1737cac commit 70e449b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ def test_warn_once(self) -> None:
623623
cov._warn("Warning, warning 1!", slug="bot", once=True)
624624
cov._warn("Warning, warning 2!", slug="bot", once=True)
625625

626+
texts = [cast(Warning, w.message).args[0] for w in warns]
627+
print(texts)
626628
assert_coverage_warnings(warns, "Warning, warning 1! (bot)")
627629
# No "Warning, warning 2!" in warns
628630
assert len(warns) == 1

0 commit comments

Comments
 (0)