Skip to content

Commit 3af3f56

Browse files
committed
Prepare release version 7.2.0
1 parent bc2c3b6 commit 3af3f56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+302
-122
lines changed

changelog/10012.deprecation.rst

-1
This file was deleted.

changelog/10150.bugfix.rst

-1
This file was deleted.

changelog/10196.trivial.rst

-1
This file was deleted.

changelog/10218.improvement.rst

-5
This file was deleted.

changelog/10313.trivial.rst

-3
This file was deleted.

changelog/10344.doc.rst

-1
This file was deleted.

changelog/10381.improvement.rst

-1
This file was deleted.

changelog/10382.bugfix.rst

-1
This file was deleted.

changelog/10396.deprecation.rst

-1
This file was deleted.

changelog/3426.improvement.rst

-1
This file was deleted.

changelog/4562.deprecation.rst

-4
This file was deleted.

changelog/7337.improvement.rst

-1
This file was deleted.

changelog/7792.bugfix.rst

-5
This file was deleted.

changelog/8508.improvement.rst

-2
This file was deleted.

changelog/8646.improvement.rst

-2
This file was deleted.

changelog/9159.bugfix.rst

-1
This file was deleted.

changelog/9248.doc.rst

-1
This file was deleted.

changelog/9291.doc.rst

-1
This file was deleted.

changelog/9741.improvement.rst

-3
This file was deleted.

changelog/9742.improvement.rst

-1
This file was deleted.

changelog/9823.improvement.rst

-1
This file was deleted.

changelog/9873.improvement.rst

-1
This file was deleted.

changelog/9877.bugfix.rst

-1
This file was deleted.

changelog/9883.improvement.rst

-1
This file was deleted.

changelog/9886.deprecation.rst

-10
This file was deleted.

changelog/9897.feature.rst

-1
This file was deleted.

changelog/9906.trivial.rst

-1
This file was deleted.

changelog/9910.trivial.rst

-1
This file was deleted.

changelog/9920.improvement.rst

-1
This file was deleted.

changelog/9984.trivial.rst

-4
This file was deleted.

changelog/9987.improvement.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-7.2.0
910
release-7.1.3
1011
release-7.1.2
1112
release-7.1.1

doc/en/announce/release-7.2.0.rst

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
pytest-7.2.0
2+
=======================================
3+
4+
The pytest team is proud to announce the 7.2.0 release!
5+
6+
This release contains new features, improvements, and bug fixes,
7+
the full list of changes is available in the changelog:
8+
9+
https://docs.pytest.org/en/stable/changelog.html
10+
11+
For complete documentation, please visit:
12+
13+
https://docs.pytest.org/en/stable/
14+
15+
As usual, you can upgrade from PyPI via:
16+
17+
pip install -U pytest
18+
19+
Thanks to all of the contributors to this release:
20+
21+
* Aaron Berdy
22+
* Adam Turner
23+
* Albert Villanova del Moral
24+
* Alice Purcell
25+
* Anthony Sottile
26+
* Anton Yakutovich
27+
* Babak Keyvani
28+
* Brandon Chinn
29+
* Bruno Oliveira
30+
* Chanvin Xiao
31+
* Cheuk Ting Ho
32+
* Chris Wheeler
33+
* EmptyRabbit
34+
* Ezio Melotti
35+
* Florian Best
36+
* Florian Bruhin
37+
* Fredrik Berndtsson
38+
* Gabriel Landau
39+
* Gergely Kalmár
40+
* Hugo van Kemenade
41+
* James Gerity
42+
* John Litborn
43+
* Jon Parise
44+
* Kevin C
45+
* Kian Eliasi
46+
* MatthewFlamm
47+
* Miro Hrončok
48+
* Nate Meyvis
49+
* Neil Girdhar
50+
* Nhieuvu1802
51+
* Nipunn Koorapati
52+
* Ofek Lev
53+
* Paul Müller
54+
* Paul Reece
55+
* Pax
56+
* Pete Baughman
57+
* Peyman Salehi
58+
* Philipp A
59+
* Ran Benita
60+
* Robert O'Shea
61+
* Ronny Pfannschmidt
62+
* Rowin
63+
* Ruth Comer
64+
* Samuel Colvin
65+
* Samuel Gaist
66+
* Sandro Tosi
67+
* Shantanu
68+
* Simon K
69+
* Stephen Rosen
70+
* Sviatoslav Sydorenko
71+
* Tatiana Ovary
72+
* Thierry Moisan
73+
* Thomas Grainger
74+
* Tim Hoffmann
75+
* Tobias Diez
76+
* Tony Narlock
77+
* Vivaan Verma
78+
* Wolfremium
79+
* Zac Hatfield-Dodds
80+
* Zach OBrien
81+
* aizpurua23a
82+
* gresm
83+
* holesch
84+
* itxasos23
85+
* johnkangw
86+
* skhomuti
87+
* sommersoft
88+
* wodny
89+
* zx.qiu
90+
91+
92+
Happy testing,
93+
The pytest Development Team

doc/en/builtin.rst

+15-12
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
3333
3434
Values can be any object handled by the json stdlib module.
3535
36-
capsys -- .../_pytest/capture.py:878
36+
capsys -- .../_pytest/capture.py:905
3737
Enable text capturing of writes to ``sys.stdout`` and ``sys.stderr``.
3838
3939
The captured output is made available via ``capsys.readouterr()`` method
@@ -51,7 +51,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
5151
captured = capsys.readouterr()
5252
assert captured.out == "hello\n"
5353
54-
capsysbinary -- .../_pytest/capture.py:906
54+
capsysbinary -- .../_pytest/capture.py:933
5555
Enable bytes capturing of writes to ``sys.stdout`` and ``sys.stderr``.
5656
5757
The captured output is made available via ``capsysbinary.readouterr()``
@@ -69,7 +69,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
6969
captured = capsysbinary.readouterr()
7070
assert captured.out == b"hello\n"
7171
72-
capfd -- .../_pytest/capture.py:934
72+
capfd -- .../_pytest/capture.py:961
7373
Enable text capturing of writes to file descriptors ``1`` and ``2``.
7474
7575
The captured output is made available via ``capfd.readouterr()`` method
@@ -87,7 +87,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
8787
captured = capfd.readouterr()
8888
assert captured.out == "hello\n"
8989
90-
capfdbinary -- .../_pytest/capture.py:962
90+
capfdbinary -- .../_pytest/capture.py:989
9191
Enable bytes capturing of writes to file descriptors ``1`` and ``2``.
9292
9393
The captured output is made available via ``capfd.readouterr()`` method
@@ -105,7 +105,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
105105
captured = capfdbinary.readouterr()
106106
assert captured.out == b"hello\n"
107107
108-
doctest_namespace [session scope] -- .../_pytest/doctest.py:735
108+
doctest_namespace [session scope] -- .../_pytest/doctest.py:738
109109
Fixture that returns a :py:class:`dict` that will be injected into the
110110
namespace of doctests.
111111
@@ -119,7 +119,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
119119
120120
For more details: :ref:`doctest_namespace`.
121121
122-
pytestconfig [session scope] -- .../_pytest/fixtures.py:1344
122+
pytestconfig [session scope] -- .../_pytest/fixtures.py:1351
123123
Session-scoped fixture that returns the session's :class:`pytest.Config`
124124
object.
125125
@@ -163,7 +163,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
163163
record_testsuite_property("ARCH", "PPC")
164164
record_testsuite_property("STORAGE_TYPE", "CEPH")
165165
166-
``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
166+
:param name:
167+
The property name.
168+
:param value:
169+
The property value. Will be converted to a string.
167170
168171
.. warning::
169172
@@ -193,7 +196,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
193196
194197
.. _legacy_path: https://py.readthedocs.io/en/latest/path.html
195198
196-
caplog -- .../_pytest/logging.py:487
199+
caplog -- .../_pytest/logging.py:491
197200
Access and control log capturing.
198201
199202
Captured logs are available through the following properties/methods::
@@ -228,16 +231,16 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
228231
To undo modifications done by the fixture in a contained scope,
229232
use :meth:`context() <pytest.MonkeyPatch.context>`.
230233
231-
recwarn -- .../_pytest/recwarn.py:29
234+
recwarn -- .../_pytest/recwarn.py:30
232235
Return a :class:`WarningsRecorder` instance that records all warnings emitted by test functions.
233236
234-
See https://docs.python.org/library/how-to/capture-warnings.html for information
237+
See https://docs.pytest.org/en/latest/how-to/capture-warnings.html for information
235238
on warning categories.
236239
237-
tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:184
240+
tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:188
238241
Return a :class:`pytest.TempPathFactory` instance for the test session.
239242
240-
tmp_path -- .../_pytest/tmpdir.py:199
243+
tmp_path -- .../_pytest/tmpdir.py:203
241244
Return a temporary directory path object which is unique to each test
242245
function invocation, created as a sub directory of the base temporary
243246
directory.

0 commit comments

Comments
 (0)