Merge pull request #6124 from blueyed/test_group_warnings_by_message-ignore-own-warning

test_group_warnings_by_message: ignore own PytestExperimentalApiWarning
This commit is contained in:
Daniel Hahler 2019-11-05 16:24:10 +01:00 committed by GitHub
commit cab29dc861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")