From 915ecb0dac19f05f7a392161203539076bce7d5c Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sun, 28 Apr 2019 10:41:44 -0300 Subject: [PATCH] Add CHANGELOG for #5177 --- changelog/5177.feature.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 changelog/5177.feature.rst diff --git a/changelog/5177.feature.rst b/changelog/5177.feature.rst new file mode 100644 index 000000000..a5b4ab111 --- /dev/null +++ b/changelog/5177.feature.rst @@ -0,0 +1,14 @@ +Introduce new specific warning ``PytestWarning`` subclasses to make it easier to filter warnings based on the class, rather than on the message. The new subclasses are: + + +* ``PytestAssertRewriteWarning`` + +* ``PytestCacheWarning`` + +* ``PytestCollectionWarning`` + +* ``PytestConfigWarning`` + +* ``PytestUnhandledCoroutineWarning`` + +* ``PytestUnknownMarkWarning``