From 793ae12de221d5982fbc86b7c0da9e712ba5336f Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Tue, 26 Nov 2024 10:13:28 -0800 Subject: [PATCH] The fn in question now converts ALL warnings to errors --- tests/test_demes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_demes.py b/tests/test_demes.py index 0547b06..632ae7a 100644 --- a/tests/test_demes.py +++ b/tests/test_demes.py @@ -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):