Skip to content

Commit

Permalink
The fn in question now converts ALL warnings to errors
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 26, 2024
1 parent 58d79f2 commit 793ae12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_demes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ def test_simultaneous_pulses_warning(self):
with pytest.warns(UserWarning, match="Multiple pulses.*same.*time"):
b2.resolve()

@pytest.mark.filterwarnings("error:Multiple pulses.*same.*time")
@pytest.mark.filterwarnings("error")
def test_unrelated_pulses_no_warning(self):
b1 = Builder()
for j in range(4):
Expand Down

0 comments on commit 793ae12

Please sign in to comment.