Skip to content

Commit b27ba97

Browse files
committed
Preparing release version 5.2.2
1 parent 2b56c7e commit b27ba97

File tree

9 files changed

+105
-7
lines changed

9 files changed

+105
-7
lines changed

CHANGELOG.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.2.2 (2019-10-24)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5206 <https://github.com/pytest-dev/pytest/issues/5206>`_: Fix ``--nf`` to not forget about known nodeids with partial test selection.
28+
29+
30+
- `#5906 <https://github.com/pytest-dev/pytest/issues/5906>`_: Fix crash with ``KeyboardInterrupt`` during ``--setup-show``.
31+
32+
33+
- `#5946 <https://github.com/pytest-dev/pytest/issues/5946>`_: Fixed issue when parametrizing fixtures with numpy arrays (and possibly other sequence-like types).
34+
35+
36+
- `#6044 <https://github.com/pytest-dev/pytest/issues/6044>`_: Properly ignore ``FileNotFoundError`` exceptions when trying to remove old temporary directories,
37+
for instance when multiple processes try to remove the same directory (common with ``pytest-xdist``
38+
for example).
39+
40+
2141
pytest 5.2.1 (2019-10-06)
2242
=========================
2343

changelog/5206.bugfix.rst

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

changelog/5906.bugfix.rst

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

changelog/5946.bugfix.rst

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

changelog/6044.bugfix.rst

Lines changed: 0 additions & 3 deletions
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.2.2
910
release-5.2.1
1011
release-5.2.0
1112
release-5.1.3

doc/en/announce/release-5.2.2.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
pytest-5.2.2
2+
=======================================
3+
4+
pytest 5.2.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+
* Albert Tugushev
15+
* Andrzej Klajnert
16+
* Anthony Sottile
17+
* Bruno Oliveira
18+
* Daniel Hahler
19+
* Florian Bruhin
20+
* Nattaphoom Chaipreecha
21+
* Oliver Bestwalter
22+
* Philipp Loose
23+
* Ran Benita
24+
* Victor Maryama
25+
* Yoav Caspi
26+
27+
28+
Happy testing,
29+
The pytest Development Team

doc/en/builtin.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
104104
105105
Captured logs are available through the following properties/methods::
106106
107+
* caplog.messages -> list of format-interpolated log messages
107108
* caplog.text -> string containing formatted log output
108109
* caplog.records -> list of logging.LogRecord instances
109110
* caplog.record_tuples -> list of (logger_name, level, message) tuples

doc/en/cache.rst

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,60 @@ You can always peek at the content of the cache using the
277277
'test_caching.py::test_function': True,
278278
'test_foocompare.py::test_compare': True}
279279
cache/nodeids contains:
280-
['test_caching.py::test_function']
280+
['test_assert1.py::test_function',
281+
'test_assert2.py::test_set_comparison',
282+
'test_foocompare.py::test_compare',
283+
'test_50.py::test_num[0]',
284+
'test_50.py::test_num[1]',
285+
'test_50.py::test_num[2]',
286+
'test_50.py::test_num[3]',
287+
'test_50.py::test_num[4]',
288+
'test_50.py::test_num[5]',
289+
'test_50.py::test_num[6]',
290+
'test_50.py::test_num[7]',
291+
'test_50.py::test_num[8]',
292+
'test_50.py::test_num[9]',
293+
'test_50.py::test_num[10]',
294+
'test_50.py::test_num[11]',
295+
'test_50.py::test_num[12]',
296+
'test_50.py::test_num[13]',
297+
'test_50.py::test_num[14]',
298+
'test_50.py::test_num[15]',
299+
'test_50.py::test_num[16]',
300+
'test_50.py::test_num[17]',
301+
'test_50.py::test_num[18]',
302+
'test_50.py::test_num[19]',
303+
'test_50.py::test_num[20]',
304+
'test_50.py::test_num[21]',
305+
'test_50.py::test_num[22]',
306+
'test_50.py::test_num[23]',
307+
'test_50.py::test_num[24]',
308+
'test_50.py::test_num[25]',
309+
'test_50.py::test_num[26]',
310+
'test_50.py::test_num[27]',
311+
'test_50.py::test_num[28]',
312+
'test_50.py::test_num[29]',
313+
'test_50.py::test_num[30]',
314+
'test_50.py::test_num[31]',
315+
'test_50.py::test_num[32]',
316+
'test_50.py::test_num[33]',
317+
'test_50.py::test_num[34]',
318+
'test_50.py::test_num[35]',
319+
'test_50.py::test_num[36]',
320+
'test_50.py::test_num[37]',
321+
'test_50.py::test_num[38]',
322+
'test_50.py::test_num[39]',
323+
'test_50.py::test_num[40]',
324+
'test_50.py::test_num[41]',
325+
'test_50.py::test_num[42]',
326+
'test_50.py::test_num[43]',
327+
'test_50.py::test_num[44]',
328+
'test_50.py::test_num[45]',
329+
'test_50.py::test_num[46]',
330+
'test_50.py::test_num[47]',
331+
'test_50.py::test_num[48]',
332+
'test_50.py::test_num[49]',
333+
'test_caching.py::test_function']
281334
cache/stepwise contains:
282335
[]
283336
example/value contains:

0 commit comments

Comments
 (0)