Skip to content

Commit 9eac473

Browse files
authored
Merge pull request #5129 from nicoddemus/release-4.4.1
Release version 4.4.1
2 parents 533e610 + 006dc30 commit 9eac473

27 files changed

+134
-103
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 4.4.1 (2019-04-15)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5031 <https://github.com/pytest-dev/pytest/issues/5031>`_: Environment variables are properly restored when using pytester's ``testdir`` fixture.
28+
29+
30+
- `#5039 <https://github.com/pytest-dev/pytest/issues/5039>`_: Fix regression with ``--pdbcls``, which stopped working with local modules in 4.0.0.
31+
32+
33+
- `#5092 <https://github.com/pytest-dev/pytest/issues/5092>`_: Produce a warning when unknown keywords are passed to ``pytest.param(...)``.
34+
35+
36+
- `#5098 <https://github.com/pytest-dev/pytest/issues/5098>`_: Invalidate import caches with ``monkeypatch.syspath_prepend``, which is required with namespace packages being used.
37+
38+
2139
pytest 4.4.0 (2019-03-29)
2240
=========================
2341

changelog/5031.bugfix.rst

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

changelog/5039.bugfix.rst

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

changelog/5092.bugfix.rst

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

changelog/5098.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.4.1
910
release-4.4.0
1011
release-4.3.1
1112
release-4.3.0

doc/en/announce/release-4.4.1.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
pytest-4.4.1
2+
=======================================
3+
4+
pytest 4.4.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+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Daniel Hahler
17+
18+
19+
Happy testing,
20+
The pytest Development Team

doc/en/assert.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ you will see the return value of the function call:
3333
=========================== test session starts ============================
3434
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
3535
cachedir: $PYTHON_PREFIX/.pytest_cache
36-
rootdir: /home/sweet/project
36+
rootdir: $REGENDOC_TMPDIR
3737
collected 1 item
3838
3939
test_assert1.py F [100%]
@@ -46,7 +46,7 @@ you will see the return value of the function call:
4646
E assert 3 == 4
4747
E + where 3 = f()
4848
49-
test_assert1.py:5: AssertionError
49+
test_assert1.py:6: AssertionError
5050
========================= 1 failed in 0.12 seconds =========================
5151
5252
``pytest`` has support for showing the values of the most common subexpressions
@@ -188,7 +188,7 @@ if you run this module:
188188
=========================== test session starts ============================
189189
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
190190
cachedir: $PYTHON_PREFIX/.pytest_cache
191-
rootdir: /home/sweet/project
191+
rootdir: $REGENDOC_TMPDIR
192192
collected 1 item
193193
194194
test_assert2.py F [100%]
@@ -207,7 +207,7 @@ if you run this module:
207207
E '5'
208208
E Use -v to get the full diff
209209
210-
test_assert2.py:5: AssertionError
210+
test_assert2.py:6: AssertionError
211211
========================= 1 failed in 0.12 seconds =========================
212212
213213
Special comparisons are done for a number of cases:
@@ -275,7 +275,7 @@ the conftest file:
275275
E assert Comparing Foo instances:
276276
E vals: 1 != 2
277277
278-
test_foocompare.py:11: AssertionError
278+
test_foocompare.py:12: AssertionError
279279
1 failed in 0.12 seconds
280280
281281
.. _assert-details:

doc/en/cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ If you then run it with ``--lf``:
8282
=========================== test session starts ============================
8383
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
8484
cachedir: $PYTHON_PREFIX/.pytest_cache
85-
rootdir: /home/sweet/project
85+
rootdir: $REGENDOC_TMPDIR
8686
collected 50 items / 48 deselected / 2 selected
8787
run-last-failure: rerun previous 2 failures
8888
@@ -126,7 +126,7 @@ of ``FF`` and dots):
126126
=========================== test session starts ============================
127127
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
128128
cachedir: $PYTHON_PREFIX/.pytest_cache
129-
rootdir: /home/sweet/project
129+
rootdir: $REGENDOC_TMPDIR
130130
collected 50 items
131131
run-last-failure: rerun previous 2 failures first
132132
@@ -258,7 +258,7 @@ You can always peek at the content of the cache using the
258258
=========================== test session starts ============================
259259
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
260260
cachedir: $PYTHON_PREFIX/.pytest_cache
261-
rootdir: /home/sweet/project
261+
rootdir: $REGENDOC_TMPDIR
262262
cachedir: $PYTHON_PREFIX/.pytest_cache
263263
------------------------------- cache values -------------------------------
264264
cache/lastfailed contains:

doc/en/capture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ of the failing function and hide the other one:
7171
=========================== test session starts ============================
7272
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
7373
cachedir: $PYTHON_PREFIX/.pytest_cache
74-
rootdir: /home/sweet/project
74+
rootdir: $REGENDOC_TMPDIR
7575
collected 2 items
7676
7777
test_module.py .F [100%]

0 commit comments

Comments
 (0)