From 68dbc24dcbb6e2bf1aa03289caff112786eb92d2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 3 Nov 2019 21:13:53 +0100 Subject: [PATCH] test_group_warnings_by_message: ignore own PytestExperimentalApiWarning --- testing/test_warnings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_warnings.py b/testing/test_warnings.py index bbcf87e5a..c4af14dac 100644 --- a/testing/test_warnings.py +++ b/testing/test_warnings.py @@ -605,6 +605,7 @@ def test_warnings_checker_twice(): warnings.warn("Message B", UserWarning) +@pytest.mark.filterwarnings("ignore::pytest.PytestExperimentalApiWarning") @pytest.mark.filterwarnings("always") def test_group_warnings_by_message(testdir): testdir.copy_example("warnings/test_group_warnings_by_message.py")