test_group_warnings_by_message: ignore own PytestExperimentalApiWarning

This commit is contained in:
Daniel Hahler 2019-11-03 21:13:53 +01:00
parent 9303de877a
commit 68dbc24dcb
1 changed files with 1 additions and 0 deletions

View File

@ -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")