From 4e259590c99b75c32ab2b498b0f75cd18ee24629 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 3 Mar 2023 12:53:38 -0300 Subject: [PATCH] Normalize how changelog entries are written (#10779) Went over all changelog entries making sure they follow our guidelines as written at: https://github.com/pytest-dev/pytest/blob/88c9e92258a15697c4f125ea1b930856ebe2975f/.github/PULL_REQUEST_TEMPLATE.md?plain=1#L18-L21 --- changelog/10533.bugfix.rst | 2 +- changelog/10597.bugfix.rst | 2 +- changelog/10626.bugfix.rst | 2 +- changelog/10660.bugfix.rst | 2 +- changelog/10753.doc.rst | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog/10533.bugfix.rst b/changelog/10533.bugfix.rst index c49e4c3aa..c7e49189d 100644 --- a/changelog/10533.bugfix.rst +++ b/changelog/10533.bugfix.rst @@ -1 +1 @@ -Fix :func:`pytest.approx` handling of dictionaries containing one or more values of `0.0` in class ApproxMapping. +Fixed :func:`pytest.approx` handling of dictionaries containing one or more values of `0.0`. diff --git a/changelog/10597.bugfix.rst b/changelog/10597.bugfix.rst index 9070e74a3..793d35b36 100644 --- a/changelog/10597.bugfix.rst +++ b/changelog/10597.bugfix.rst @@ -1 +1 @@ -Fix bug where a fixture method named ``teardown`` would be called as part of ``nose`` teardown stage. +Fixed bug where a fixture method named ``teardown`` would be called as part of ``nose`` teardown stage. diff --git a/changelog/10626.bugfix.rst b/changelog/10626.bugfix.rst index c3c7ef778..4032f69e0 100644 --- a/changelog/10626.bugfix.rst +++ b/changelog/10626.bugfix.rst @@ -1 +1 @@ -Fix crash if ``--fixtures`` and ``--help`` are passed at the same time. +Fixed crash if ``--fixtures`` and ``--help`` are passed at the same time. diff --git a/changelog/10660.bugfix.rst b/changelog/10660.bugfix.rst index 62e354941..84a913fe9 100644 --- a/changelog/10660.bugfix.rst +++ b/changelog/10660.bugfix.rst @@ -1,2 +1,2 @@ -Fix :py:func:`pytest.raises` to return a 'ContextManager' so that type-checkers could narrow +Fixed :py:func:`pytest.raises` to return a 'ContextManager' so that type-checkers could narrow :code:`pytest.raises(...) if ... else nullcontext()` down to 'ContextManager' rather than 'object'. diff --git a/changelog/10753.doc.rst b/changelog/10753.doc.rst index 701d81a7c..13b021ea7 100644 --- a/changelog/10753.doc.rst +++ b/changelog/10753.doc.rst @@ -1,2 +1,2 @@ -Change wording of the module level skip to be very explicit -about not collecting and not executing the rest of the module. +Changed wording of the module level skip to be very explicit +about not collecting tests and not executing the rest of the module.