Skip to content

Commit e1298fa

Browse files
authored
Merge pull request #6481 from nicoddemus/release-5.3.3
Release 5.3.3
2 parents e211d6f + 544b4a1 commit e1298fa

12 files changed

+67
-17
lines changed

changelog/2780.bugfix.rst

-1
This file was deleted.

changelog/5971.bugfix.rst

-2
This file was deleted.

changelog/6350.trivial.rst

-1
This file was deleted.

changelog/6436.bugfix.rst

-3
This file was deleted.

changelog/6532.bugfix.rst

-1
This file was deleted.

doc/en/announce/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-5.3.3
910
release-5.3.2
1011
release-5.3.1
1112
release-5.3.0

doc/en/announce/release-5.3.3.rst

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
pytest-5.3.3
2+
=======================================
3+
4+
pytest 5.3.3 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement. To upgrade::
7+
8+
pip install --upgrade pytest
9+
10+
The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.
11+
12+
Thanks to all who contributed to this release, among them:
13+
14+
* Adam Johnson
15+
* Alexandre Mulatinho
16+
* Anthony Sottile
17+
* Bruno Oliveira
18+
* Chris NeJame
19+
* Daniel Hahler
20+
* Hugo van Kemenade
21+
* Marcelo Duarte Trevisani
22+
* PaulC
23+
* Ran Benita
24+
* Ryan Barner
25+
* Seth Junot
26+
* marc
27+
28+
29+
Happy testing,
30+
The pytest Development Team

doc/en/changelog.rst

+29-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,34 @@ with advance notice in the **Deprecations** section of releases.
2828

2929
.. towncrier release notes start
3030
31+
pytest 5.3.3 (2020-01-16)
32+
=========================
33+
34+
Bug Fixes
35+
---------
36+
37+
- `#2780 <https://github.com/pytest-dev/pytest/issues/2780>`_: Captured output during teardown is shown with ``-rP``.
38+
39+
40+
- `#5971 <https://github.com/pytest-dev/pytest/issues/5971>`_: Fix a ``pytest-xdist`` crash when dealing with exceptions raised in subprocesses created by the
41+
``multiprocessing`` module.
42+
43+
44+
- `#6436 <https://github.com/pytest-dev/pytest/issues/6436>`_: :class:`FixtureDef <_pytest.fixtures.FixtureDef>` objects now properly register their finalizers with autouse and
45+
parameterized fixtures that execute before them in the fixture stack so they are torn
46+
down at the right times, and in the right order.
47+
48+
49+
- `#6532 <https://github.com/pytest-dev/pytest/issues/6532>`_: Fix parsing of outcomes containing multiple errors with ``testdir`` results (regression in 5.3.0).
50+
51+
52+
53+
Trivial/Internal Changes
54+
------------------------
55+
56+
- `#6350 <https://github.com/pytest-dev/pytest/issues/6350>`_: Optimized automatic renaming of test parameter IDs.
57+
58+
3159
pytest 5.3.2 (2019-12-13)
3260
=========================
3361

@@ -4842,7 +4870,7 @@ time or change existing behaviors in order to make them less surprising/more use
48424870
* Updated docstrings with a more uniform style.
48434871

48444872
* Add stderr write for ``pytest.exit(msg)`` during startup. Previously the message was never shown.
4845-
Thanks `@BeyondEvil`_ for reporting `#1210`_. Thanks to `@jgsonesen`_ and
4873+
Thanks `@BeyondEvil`_ for reporting `#1210`_. Thanks to @jgsonesen and
48464874
`@tomviner`_ for the PR.
48474875

48484876
* No longer display the incorrect test deselection reason (`#1372`_).
@@ -4974,7 +5002,6 @@ time or change existing behaviors in order to make them less surprising/more use
49745002
.. _@gprasad84: https://github.com/gprasad84
49755003
.. _@graingert: https://github.com/graingert
49765004
.. _@hartym: https://github.com/hartym
4977-
.. _@jgsonesen: https://github.com/jgsonesen
49785005
.. _@kalekundert: https://github.com/kalekundert
49795006
.. _@kvas-it: https://github.com/kvas-it
49805007
.. _@marscher: https://github.com/marscher

doc/en/example/parametrize.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,10 @@ Running it results in some skips if we don't have all the python interpreters in
475475
.. code-block:: pytest
476476
477477
. $ pytest -rs -q multipython.py
478-
ssssssssssss...ssssssssssss [100%]
478+
ssssssssssssssssssssssss... [100%]
479479
========================= short test summary info ==========================
480480
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.5' not found
481-
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.7' not found
481+
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.6' not found
482482
3 passed, 24 skipped in 0.12s
483483
484484
Indirect parametrization of optional implementations/imports

doc/en/example/reportingdemo.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
436436
items = [1, 2, 3]
437437
print("items is {!r}".format(items))
438438
> a, b = items.pop()
439-
E TypeError: 'int' object is not iterable
439+
E TypeError: cannot unpack non-iterable int object
440440
441441
failure_demo.py:181: TypeError
442442
--------------------------- Captured stdout call ---------------------------
@@ -516,7 +516,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
516516
def test_z2_type_error(self):
517517
items = 3
518518
> a, b = items
519-
E TypeError: 'int' object is not iterable
519+
E TypeError: cannot unpack non-iterable int object
520520
521521
failure_demo.py:222: TypeError
522522
______________________ TestMoreErrors.test_startswith ______________________

doc/en/example/simple.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ Now we can profile which test functions execute the slowest:
442442
443443
========================= slowest 3 test durations =========================
444444
0.30s call test_some_are_slow.py::test_funcslow2
445-
0.20s call test_some_are_slow.py::test_funcslow1
446-
0.10s call test_some_are_slow.py::test_funcfast
445+
0.21s call test_some_are_slow.py::test_funcslow1
446+
0.11s call test_some_are_slow.py::test_funcfast
447447
============================ 3 passed in 0.12s =============================
448448
449449
incremental testing - test steps

doc/en/getting-started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Install ``pytest``
2828
.. code-block:: bash
2929
3030
$ pytest --version
31-
This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest/__init__.py
31+
This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest/__init__.py
3232
3333
.. _`simpletest`:
3434

0 commit comments

Comments
 (0)