Skip to content

Commit 7807c26

Browse files
committed
Preparing release version 4.6.5
1 parent b71f873 commit 7807c26

10 files changed

+49
-10
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 4.6.5 (2019-08-05)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#4344 <https://github.com/pytest-dev/pytest/issues/4344>`_: Fix RuntimeError/StopIteration when trying to collect package with "__init__.py" only.
28+
29+
30+
- `#5478 <https://github.com/pytest-dev/pytest/issues/5478>`_: Fix encode error when using unicode strings in exceptions with ``pytest.raises``.
31+
32+
33+
- `#5524 <https://github.com/pytest-dev/pytest/issues/5524>`_: Fix issue where ``tmp_path`` and ``tmpdir`` would not remove directories containing files marked as read-only,
34+
which could lead to pytest crashing when executed a second time with the ``--basetemp`` option.
35+
36+
37+
- `#5547 <https://github.com/pytest-dev/pytest/issues/5547>`_: ``--step-wise`` now handles ``xfail(strict=True)`` markers properly.
38+
39+
40+
- `#5650 <https://github.com/pytest-dev/pytest/issues/5650>`_: Improved output when parsing an ini configuration file fails.
41+
42+
2143
pytest 4.6.4 (2019-06-28)
2244
=========================
2345

changelog/4344.bugfix.rst

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

changelog/5478.bugfix.rst

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

changelog/5524.bugfix.rst

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

changelog/5547.bugfix.rst

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

changelog/5650.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-4.6.5
910
release-4.6.4
1011
release-4.6.3
1112
release-4.6.2

doc/en/announce/release-4.6.5.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pytest-4.6.5
2+
=======================================
3+
4+
pytest 4.6.5 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+
* Daniel Hahler
17+
* Thomas Grainger
18+
19+
20+
Happy testing,
21+
The pytest Development Team

doc/en/example/parametrize.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,11 @@ Running it results in some skips if we don't have all the python interpreters in
434434
.. code-block:: pytest
435435
436436
. $ pytest -rs -q multipython.py
437-
...sss...sssssssss...sss... [100%]
437+
...ssssssssssssssssssssssss [100%]
438438
========================= short test summary info ==========================
439-
SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.4' not found
440-
12 passed, 15 skipped in 0.12 seconds
439+
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.4' not found
440+
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.5' not found
441+
3 passed, 24 skipped in 0.12 seconds
441442
442443
Indirect parametrization of optional implementations/imports
443444
--------------------------------------------------------------------

doc/en/example/simple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Now we can profile which test functions execute the slowest:
440440
test_some_are_slow.py ... [100%]
441441
442442
========================= slowest 3 test durations =========================
443-
0.30s call test_some_are_slow.py::test_funcslow2
443+
0.31s call test_some_are_slow.py::test_funcslow2
444444
0.20s call test_some_are_slow.py::test_funcslow1
445445
0.10s call test_some_are_slow.py::test_funcfast
446446
========================= 3 passed in 0.12 seconds =========================

0 commit comments

Comments
 (0)