You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/changelog.rst
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1873,6 +1873,44 @@ Improved Documentation
1873
1873
- `#5416 <https://github.com/pytest-dev/pytest/issues/5416>`_: Fix PytestUnknownMarkWarning in run/skip example.
1874
1874
1875
1875
1876
+
pytest 4.6.11 (2020-06-04)
1877
+
==========================
1878
+
1879
+
Bug Fixes
1880
+
---------
1881
+
1882
+
- `#6334 <https://github.com/pytest-dev/pytest/issues/6334>`_: Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were used at the same time in the ``-r`` command-line option (for example ``-rFf``).
1883
+
1884
+
The upper case variants were never documented and the preferred form should be the lower case.
1885
+
1886
+
1887
+
- `#7310 <https://github.com/pytest-dev/pytest/issues/7310>`_: Fix ``UnboundLocalError: local variable 'letter' referenced before
1888
+
assignment`` in ``_pytest.terminal.pytest_report_teststatus()``
1889
+
when plugins return report objects in an unconventional state.
1890
+
1891
+
This was making ``pytest_report_teststatus()`` skip
1892
+
entering if-block branches that declare the ``letter`` variable.
1893
+
1894
+
The fix was to set the initial value of the ``letter`` before
1895
+
the if-block cascade so that it always has a value.
1896
+
1897
+
1898
+
pytest 4.6.10 (2020-05-08)
1899
+
==========================
1900
+
1901
+
Features
1902
+
--------
1903
+
1904
+
- `#6870 <https://github.com/pytest-dev/pytest/issues/6870>`_: New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``.
1905
+
1906
+
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.
1907
+
1908
+
Trivial/Internal Changes
1909
+
------------------------
1910
+
1911
+
- `#6404 <https://github.com/pytest-dev/pytest/issues/6404>`_: Remove usage of ``parser`` module, deprecated in Python 3.9.
0 commit comments