Skip to content

Commit 39066d5

Browse files
authored
Merge master into features (#6056)
Merge master into features
2 parents d1bc260 + fb0e8b9 commit 39066d5

17 files changed

+250
-35
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

README.rst

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,29 @@ Consult the `Changelog <https://docs.pytest.org/en/latest/changelog.html>`__ pag
111111
Support pytest
112112
--------------
113113

114-
You can support pytest by obtaining a `Tidelift subscription`_.
114+
`Open Collective`_ is an online funding platform for open and transparent communities.
115+
It provide tools to raise money and share your finances in full transparency.
115116

116-
Tidelift gives software development teams a single source for purchasing and maintaining their software,
117-
with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools.
117+
It is the platform of choice for individuals and companies that want to make one-time or
118+
monthly donations directly to the project.
118119

120+
See more datails in the `pytest collective`_.
119121

120-
.. _`Tidelift subscription`: https://tidelift.com/subscription/pkg/pypi-pytest?utm_source=pypi-pytest&utm_medium=referral&utm_campaign=readme
122+
.. _Open Collective: https://opencollective.com
123+
.. _pytest collective: https://opencollective.com/pytest
121124

122125

126+
pytest for enterprise
127+
---------------------
128+
129+
Available as part of the Tidelift Subscription.
130+
131+
The maintainers of pytest and thousands of other packages are working with Tidelift to deliver commercial support and
132+
maintenance for the open source dependencies you use to build your applications.
133+
Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.
134+
135+
`Learn more. <https://tidelift.com/subscription/pkg/pypi-pytest?utm_source=pypi-pytest&utm_medium=referral&utm_campaign=enterprise&utm_term=repo>`_
136+
123137
Security
124138
^^^^^^^^
125139

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.

doc/en/_templates/globaltoc.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
1212
<li><a href="{{ pathto('backwards-compatibility') }}">Backwards Compatibility</a></li>
1313
<li><a href="{{ pathto('py27-py34-deprecation') }}">Python 2.7 and 3.4 Support</a></li>
1414
<li><a href="{{ pathto('sponsor') }}">Sponsor</a></li>
15+
<li><a href="{{ pathto('tidelift') }}">pytest for Enterprise</a></li>
1516
<li><a href="{{ pathto('license') }}">License</a></li>
1617
<li><a href="{{ pathto('contact') }}">Contact Channels</a></li>
1718
</ul>

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:

doc/en/contents.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,24 @@ Full pytest documentation
3838
customize
3939
example/index
4040
bash-completion
41+
faq
4142

4243
backwards-compatibility
4344
deprecations
4445
py27-py34-deprecation
45-
historical-notes
46-
license
46+
4747
contributing
4848
development_guide
49+
50+
sponsor
51+
tidelift
52+
license
53+
contact
54+
55+
historical-notes
4956
talks
5057
projects
51-
faq
52-
contact
53-
sponsor
58+
5459

5560
.. only:: html
5661

0 commit comments

Comments
 (0)