chore(deps): update dependency pytest to v4.6.11
This MR contains the following updates:
Package | Update | Change |
---|---|---|
pytest (changelog) | patch |
==4.6.3 -> ==4.6.11
|
Release Notes
pytest-dev/pytest
v4.6.11
Bug Fixes
-
#6334: Fix summary entries appearing twice when
f/F
ands/S
report chars were used at the same time in the-r
command-line option (for example-rFf
).The upper case variants were never documented and the preferred form should be the lower case.
-
#7310: Fix
UnboundLocalError: local variable 'letter' referenced before assignment
in_pytest.terminal.pytest_report_teststatus()
when plugins return report objects in an unconventional state.This was making
pytest_report_teststatus()
skip entering if-block branches that declare theletter
variable.The fix was to set the initial value of the
letter
before the if-block cascade so that it always has a value.
v4.6.10
-
#6870: New
Config.invocation_args
attribute containing the unchanged arguments passed topytest.main()
.Remark: while this is technically a new feature and according to our policy 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.
v4.6.9
pytest 4.6.9 (2020-01-04)
Bug Fixes
-
#6301: Fix
assertion rewriting for egg-based distributions and
editable
installs (pip install --editable
).
v4.6.8
pytest 4.6.8 (2019-12-19)
Features
- #5471: JUnit XML now includes a timestamp and hostname in the testsuite tag.
Bug Fixes
- #5430: junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase.
Trivial/Internal Changes
-
#6345: Pin
colorama
to0.4.1
only for Python 3.4 so newer Python versions can still receive colorama updates.
v4.6.7
pytest 4.6.7 (2019-12-05)
Bug Fixes
-
#5477: The XML
file produced by
--junitxml
now correctly contain a<testsuites>
root element. -
#6044: Properly
ignore
FileNotFoundError
(OSError.errno == NOENT
in Python 2) exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common withpytest-xdist
for example).
v4.6.6
pytest 4.6.6 (2019-10-11)
Bug Fixes
-
#5523: Fixed
using multiple short options together in the command-line (for
example
-vs
) in Python 3.8+. -
#5537: Replace
importlib_metadata
backport withimportlib.metadata
from the standard library on Python 3.8+. -
#5806: Fix
"lexer" being used when uploading to bpaste.net from
--pastebin
to "text". -
#5902: Fix
warnings about deprecated
cmp
attribute inattrs>=19.2
.
Trivial/Internal Changes
-
#5801: Fixes
python version checks (detected by
flake8-2020
) in case python4 becomes a thing.
v4.6.5
Bug Fixes
-
#4344: Fix RuntimeError/StopIteration when trying to collect package with "init.py" only.
-
#5478: Fix encode error when using unicode strings in exceptions with
pytest.raises
. -
#5524: Fix issue where
tmp_path
andtmpdir
would not remove directories containing files marked as read-only, which could lead to pytest crashing when executed a second time with the--basetemp
option. -
#5547:
--step-wise
now handlesxfail(strict=True)
markers properly. -
#5650: Improved output when parsing an ini configuration file fails.
v4.6.4
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.