Skip to content

Commit 2d398d8

Browse files
committed
Preparing release version 4.6.8
1 parent 9ab4032 commit 2d398d8

File tree

10 files changed

+51
-11
lines changed

10 files changed

+51
-11
lines changed

CHANGELOG.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,29 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 4.6.8 (2019-12-19)
22+
=========================
23+
24+
Features
25+
--------
26+
27+
- `#5471 <https://github.com/pytest-dev/pytest/issues/5471>`_: JUnit XML now includes a timestamp and hostname in the testsuite tag.
28+
29+
30+
31+
Bug Fixes
32+
---------
33+
34+
- `#5430 <https://github.com/pytest-dev/pytest/issues/5430>`_: junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase.
35+
36+
37+
38+
Trivial/Internal Changes
39+
------------------------
40+
41+
- `#6345 <https://github.com/pytest-dev/pytest/issues/6345>`_: Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates.
42+
43+
2144
pytest 4.6.7 (2019-12-05)
2245
=========================
2346

changelog/5430.bugfix.rst

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

changelog/5471.feature.rst

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

changelog/6345.trivial.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.8
910
release-4.6.7
1011
release-4.6.6
1112
release-4.6.5

doc/en/announce/release-4.6.8.rst

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

doc/en/example/parametrize.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,10 @@ 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-
...ssssssssssssssssssssssss [100%]
437+
......sss......ssssssssssss [100%]
438438
========================= short test summary info ==========================
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
439+
SKIPPED [15] $REGENDOC_TMPDIR/CWD/multipython.py:31: 'python3.5' not found
440+
12 passed, 15 skipped in 0.12 seconds
442441
443442
Indirect parametrization of optional implementations/imports
444443
--------------------------------------------------------------------

doc/en/example/reportingdemo.rst

Lines changed: 2 additions & 2 deletions
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: cannot unpack non-iterable int object
439+
E TypeError: 'int' object is not iterable
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: cannot unpack non-iterable int object
518+
E TypeError: 'int' object is not iterable
519519
520520
failure_demo.py:222: TypeError
521521
______________________ TestMoreErrors.test_startswith ______________________

doc/en/example/simple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Now we can profile which test functions execute the slowest:
442442
========================= slowest 3 test durations =========================
443443
0.30s call test_some_are_slow.py::test_funcslow2
444444
0.20s call test_some_are_slow.py::test_funcslow1
445-
0.11s call test_some_are_slow.py::test_funcfast
445+
0.10s call test_some_are_slow.py::test_funcfast
446446
========================= 3 passed in 0.12 seconds =========================
447447
448448
incremental testing - test steps

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
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.7/site-packages/pytest.py
31+
This is pytest version 4.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest.py
3232
3333
.. _`simpletest`:
3434

0 commit comments

Comments
 (0)