Skip to content

Commit d5843f8

Browse files
authored
Merge pull request #7199 from nicoddemus/release-4.6.10
2 parents ded772b + 180f931 commit d5843f8

File tree

8 files changed

+44
-8
lines changed

8 files changed

+44
-8
lines changed

CHANGELOG.rst

+16
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 4.6.10 (2020-05-08)
22+
==========================
23+
24+
Features
25+
--------
26+
27+
- `#6870 <https://github.com/pytest-dev/pytest/issues/6870>`_: New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``.
28+
29+
Remark: while this is technically a new feature and according to our `policy <https://docs.pytest.org/en/latest/py27-py34-deprecation.html#what-goes-into-4-6-x-releases>`_ it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix.
30+
31+
Trivial/Internal Changes
32+
------------------------
33+
34+
- `#6404 <https://github.com/pytest-dev/pytest/issues/6404>`_: Remove usage of ``parser`` module, deprecated in Python 3.9.
35+
36+
2137
pytest 4.6.9 (2020-01-04)
2238
=========================
2339

changelog/6404.trivial.rst

-1
This file was deleted.

changelog/6870.feature.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-4.6.10
910
release-4.6.9
1011
release-4.6.8
1112
release-4.6.7

doc/en/announce/release-4.6.10.rst

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
pytest-4.6.10
2+
=======================================
3+
4+
pytest 4.6.10 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+
* Fernando Mez
17+
18+
19+
Happy testing,
20+
The pytest Development Team

doc/en/example/parametrize.rst

+4-3
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......ssssssssssss [100%]
437+
...ssssssssssssssssssssssss [100%]
438438
========================= short test summary info ==========================
439-
SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.5' 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/reportingdemo.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
436436
items = [1, 2, 3]
437437
print("items is %r" % items)
438438
> a, b = items.pop()
439-
E TypeError: 'int' object is not iterable
439+
E TypeError: cannot unpack non-iterable int object
440440
441441
failure_demo.py:182: TypeError
442442
--------------------------- Captured stdout call ---------------------------
@@ -515,7 +515,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
515515
def test_z2_type_error(self):
516516
items = 3
517517
> a, b = items
518-
E TypeError: 'int' object is not iterable
518+
E TypeError: cannot unpack non-iterable int object
519519
520520
failure_demo.py:222: TypeError
521521
______________________ TestMoreErrors.test_startswith ______________________

doc/en/getting-started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Install ``pytest``
2828
.. code-block:: bash
2929
3030
$ pytest --version
31-
This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest.py
31+
This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest.py
3232
3333
.. _`simpletest`:
3434

0 commit comments

Comments
 (0)