Skip to content

Commit

Permalink
Preparing release version 4.6.11
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Jun 4, 2020
1 parent 5644437 commit 2262734
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 13 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ with advance notice in the **Deprecations** section of releases.
.. towncrier release notes start
pytest 4.6.11 (2020-06-04)
==========================

Bug Fixes
---------

- `#6334 <https://github.com/pytest-dev/pytest/issues/6334>`_: Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were used at the same time in the ``-r`` command-line option (for example ``-rFf``).

The upper case variants were never documented and the preferred form should be the lower case.


- `#7310 <https://github.com/pytest-dev/pytest/issues/7310>`_: Fix ``UnboundLocalError: local variable 'letter' referenced before
assignment`` in ``_pytest.terminal.pytest_report_teststatus()``
when plugins return report objects in an unconventional state.

This was making ``pytest_report_teststatus()`` skip
entering if-block branches that declare the ``letter`` variable.

The fix was to set the initial value of the ``letter`` before
the if-block cascade so that it always has a value.


pytest 4.6.10 (2020-05-08)
==========================

Expand Down
3 changes: 0 additions & 3 deletions changelog/6334.bugfix.rst

This file was deleted.

9 changes: 0 additions & 9 deletions changelog/7310.bugfix.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2


release-4.6.11
release-4.6.10
release-4.6.9
release-4.6.8
Expand Down
20 changes: 20 additions & 0 deletions doc/en/announce/release-4.6.11.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pytest-4.6.11
=======================================

pytest 4.6.11 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Bruno Oliveira
* Sviatoslav Sydorenko


Happy testing,
The pytest Development Team
2 changes: 1 addition & 1 deletion doc/en/example/simple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ Now we can profile which test functions execute the slowest:
test_some_are_slow.py ... [100%]
========================= slowest 3 test durations =========================
0.30s call test_some_are_slow.py::test_funcslow2
0.31s call test_some_are_slow.py::test_funcslow2
0.20s call test_some_are_slow.py::test_funcslow1
0.10s call test_some_are_slow.py::test_funcfast
========================= 3 passed in 0.12 seconds =========================
Expand Down

0 comments on commit 2262734

Please sign in to comment.