From e617be57b0c16106be97c9385dbda8448d2e5586 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 00000000000..54bfa554e9f --- /dev/null +++ b/changelog/5177.feature.rst @@ -0,0 +1,14 @@ +Introduce new specific warning ``PytestWarning`` subclasses to make it easier for user to filter warnings based on the class, rather than on the message. The new subclasses are: + + +* ``PytestAssertRewriteWarning`` + +* ``PytestCacheWarning`` + +* ``PytestCollectionWarning`` + +* ``PytestConfigWarning`` + +* ``PytestUnhandledCoroutineWarning`` + +* ``PytestUnknownMarkWarning``