Skip to content

Commit 10fcac7

Browse files
committed
Preparing release version 5.3.2
1 parent 8942a05 commit 10fcac7

File tree

11 files changed

+57
-17
lines changed

11 files changed

+57
-17
lines changed

changelog/4639.improvement.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/5430.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/6290.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/6301.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/en/announce/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

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

doc/en/announce/release-5.3.2.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
pytest-5.3.2
2+
=======================================
3+
4+
pytest 5.3.2 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+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Claudio Madotto
17+
* Daniel Hahler
18+
* Jared Vasquez
19+
* Michael Rose
20+
* Ran Benita
21+
* Ronny Pfannschmidt
22+
* Zac Hatfield-Dodds
23+
* zupermanzupereroe
24+
25+
26+
Happy testing,
27+
The pytest Development Team

doc/en/changelog.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,31 @@ with advance notice in the **Deprecations** section of releases.
2424
2525
.. include:: _changelog_towncrier_draft.rst
2626

27+
.. towncrier release notes start
2728
29+
pytest 5.3.2 (2019-12-13)
30+
=========================
2831

32+
Improvements
33+
------------
2934

35+
- `#4639 <https://github.com/pytest-dev/pytest/issues/4639>`_: Revert "A warning is now issued when assertions are made for ``None``".
3036

37+
The warning proved to be less useful than initially expected and had quite a
38+
few false positive cases.
3139

32-
.. towncrier release notes start
40+
41+
42+
Bug Fixes
43+
---------
44+
45+
- `#5430 <https://github.com/pytest-dev/pytest/issues/5430>`_: junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase.
46+
47+
48+
- `#6290 <https://github.com/pytest-dev/pytest/issues/6290>`_: The supporting files in the ``.pytest_cache`` directory are kept with ``--cache-clear``, which only clears cached values now.
49+
50+
51+
- `#6301 <https://github.com/pytest-dev/pytest/issues/6301>`_: Fix assertion rewriting for egg-based distributions and ``editable`` installs (``pip install --editable``).
3352

3453

3554
pytest 5.3.1 (2019-11-25)

doc/en/example/parametrize.rst

Lines changed: 4 additions & 4 deletions
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-
ssssssssssssssssssssssss... [100%]
478+
ssssssssssss...ssssssssssss [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.6' not found
481+
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.7' not found
482482
3 passed, 24 skipped in 0.12s
483483
484484
Indirect parametrization of optional implementations/imports
@@ -604,13 +604,13 @@ Then run ``pytest`` with verbose mode and with only the ``basic`` marker:
604604
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y -- $PYTHON_PREFIX/bin/python
605605
cachedir: $PYTHON_PREFIX/.pytest_cache
606606
rootdir: $REGENDOC_TMPDIR
607-
collecting ... collected 18 items / 15 deselected / 3 selected
607+
collecting ... collected 17 items / 14 deselected / 3 selected
608608
609609
test_pytest_param_example.py::test_eval[1+7-8] PASSED [ 33%]
610610
test_pytest_param_example.py::test_eval[basic_2+4] PASSED [ 66%]
611611
test_pytest_param_example.py::test_eval[basic_6*9] XFAIL [100%]
612612
613-
=============== 2 passed, 15 deselected, 1 xfailed in 0.12s ================
613+
=============== 2 passed, 14 deselected, 1 xfailed in 0.12s ================
614614
615615
As the result:
616616

doc/en/example/reportingdemo.rst

Lines changed: 2 additions & 2 deletions
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: cannot unpack non-iterable int object
439+
E TypeError: 'int' object is not iterable
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: cannot unpack non-iterable int object
519+
E TypeError: 'int' object is not iterable
520520
521521
failure_demo.py:222: TypeError
522522
______________________ TestMoreErrors.test_startswith ______________________

doc/en/example/simple.rst

Lines changed: 2 additions & 2 deletions
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.21s call test_some_are_slow.py::test_funcslow1
446-
0.11s call test_some_are_slow.py::test_funcfast
445+
0.20s call test_some_are_slow.py::test_funcslow1
446+
0.10s 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

Lines changed: 1 addition & 1 deletion
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.7/site-packages/pytest.py
31+
This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest/__init__.py
3232
3333
.. _`simpletest`:
3434

0 commit comments

Comments
 (0)