Skip to content

Commit bb29f31

Browse files
committed
Preparing release version 5.0.1
1 parent b1928f8 commit bb29f31

27 files changed

+123
-78
lines changed

CHANGELOG.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,28 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.0.1 (2019-07-04)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5479 <https://github.com/pytest-dev/pytest/issues/5479>`_: Improve quoting in ``raises`` match failure message.
28+
29+
30+
- `#5523 <https://github.com/pytest-dev/pytest/issues/5523>`_: Fixed using multiple short options together in the command-line (for example ``-vs``) in Python 3.8+.
31+
32+
33+
- `#5547 <https://github.com/pytest-dev/pytest/issues/5547>`_: ``--step-wise`` now handles ``xfail(strict=True)`` markers properly.
34+
35+
36+
37+
Improved Documentation
38+
----------------------
39+
40+
- `#5517 <https://github.com/pytest-dev/pytest/issues/5517>`_: Improve "Declaring new hooks" section in chapter "Writing Plugins"
41+
42+
2143
pytest 5.0.0 (2019-06-28)
2244
=========================
2345

changelog/5479.bugfix.rst

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

changelog/5517.doc.rst

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

changelog/5523.bugfix.rst

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

changelog/5547.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.0.1
910
release-5.0.0
1011
release-4.6.4
1112
release-4.6.3

doc/en/announce/release-5.0.1.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
pytest-5.0.1
2+
=======================================
3+
4+
pytest 5.0.1 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+
* AmirElkess
15+
* Andreu Vallbona Plazas
16+
* Anthony Sottile
17+
* Bruno Oliveira
18+
* Florian Bruhin
19+
* Michael Moore
20+
* Niklas Meinzer
21+
* Thomas Grainger
22+
23+
24+
Happy testing,
25+
The pytest Development Team

doc/en/assert.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ you will see the return value of the function call:
3131
3232
$ pytest test_assert1.py
3333
=========================== test session starts ============================
34-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
34+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
3535
cachedir: $PYTHON_PREFIX/.pytest_cache
3636
rootdir: $REGENDOC_TMPDIR
3737
collected 1 item
@@ -186,7 +186,7 @@ if you run this module:
186186
187187
$ pytest test_assert2.py
188188
=========================== test session starts ============================
189-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
189+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
190190
cachedir: $PYTHON_PREFIX/.pytest_cache
191191
rootdir: $REGENDOC_TMPDIR
192192
collected 1 item

doc/en/cache.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ If you then run it with ``--lf``:
8080
8181
$ pytest --lf
8282
=========================== test session starts ============================
83-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
83+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
8484
cachedir: $PYTHON_PREFIX/.pytest_cache
8585
rootdir: $REGENDOC_TMPDIR
8686
collected 50 items / 48 deselected / 2 selected
@@ -124,7 +124,7 @@ of ``FF`` and dots):
124124
125125
$ pytest --ff
126126
=========================== test session starts ============================
127-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
127+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
128128
cachedir: $PYTHON_PREFIX/.pytest_cache
129129
rootdir: $REGENDOC_TMPDIR
130130
collected 50 items
@@ -256,7 +256,7 @@ You can always peek at the content of the cache using the
256256
257257
$ pytest --cache-show
258258
=========================== test session starts ============================
259-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
259+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
260260
cachedir: $PYTHON_PREFIX/.pytest_cache
261261
rootdir: $REGENDOC_TMPDIR
262262
cachedir: $PYTHON_PREFIX/.pytest_cache
@@ -284,7 +284,7 @@ filtering:
284284
285285
$ pytest --cache-show example/*
286286
=========================== test session starts ============================
287-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
287+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
288288
cachedir: $PYTHON_PREFIX/.pytest_cache
289289
rootdir: $REGENDOC_TMPDIR
290290
cachedir: $PYTHON_PREFIX/.pytest_cache

doc/en/capture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ of the failing function and hide the other one:
6969
7070
$ pytest
7171
=========================== test session starts ============================
72-
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
72+
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
7373
cachedir: $PYTHON_PREFIX/.pytest_cache
7474
rootdir: $REGENDOC_TMPDIR
7575
collected 2 items

0 commit comments

Comments
 (0)