Merge pull request #7720 from pytest-dev/release-6.0.2

Prepare release 6.0.2

(cherry picked from commit fe69bd5baf6b8d1713e16caffc7a5e8dab63bc0f)
This commit is contained in:
Ran Benita 2020-09-12 02:03:10 +03:00
parent 78ed3e48db
commit e0dd2111a0
8 changed files with 40 additions and 6 deletions

View File

@ -1 +0,0 @@
Fixed ``--log-cli`` potentially causing unrelated ``print`` output to be swallowed.

View File

@ -1 +0,0 @@
Fixed log-capturing level restored incorrectly if ``caplog.set_level`` is called more than once.

View File

@ -1,2 +0,0 @@
Fixed `NotSetType.token` being used as the parameter ID when the parametrization list is empty.
Regressed in pytest 6.0.0.

View File

@ -1 +0,0 @@
Fix internal error when handling some exceptions that contain multiple lines or the style uses multiple lines (``--tb=line`` for example).

View File

@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2
release-6.0.2
release-6.0.1
release-6.0.0
release-6.0.0rc1

View File

@ -0,0 +1,19 @@
pytest-6.0.2
=======================================
pytest 6.0.2 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/stable/changelog.html.
Thanks to all of the contributors to this release:
* Bruno Oliveira
* Ran Benita
Happy testing,
The pytest Development Team

View File

@ -28,6 +28,25 @@ with advance notice in the **Deprecations** section of releases.
.. towncrier release notes start
pytest 6.0.2 (2020-09-04)
=========================
Bug Fixes
---------
- `#7148 <https://github.com/pytest-dev/pytest/issues/7148>`_: Fixed ``--log-cli`` potentially causing unrelated ``print`` output to be swallowed.
- `#7672 <https://github.com/pytest-dev/pytest/issues/7672>`_: Fixed log-capturing level restored incorrectly if ``caplog.set_level`` is called more than once.
- `#7686 <https://github.com/pytest-dev/pytest/issues/7686>`_: Fixed `NotSetType.token` being used as the parameter ID when the parametrization list is empty.
Regressed in pytest 6.0.0.
- `#7707 <https://github.com/pytest-dev/pytest/issues/7707>`_: Fix internal error when handling some exceptions that contain multiple lines or the style uses multiple lines (``--tb=line`` for example).
pytest 6.0.1 (2020-07-30)
=========================

View File

@ -28,7 +28,7 @@ Install ``pytest``
.. code-block:: bash
$ pytest --version
pytest 6.0.1
pytest 6.0.2
.. _`simpletest`: