Skip to content

chore(deps): update dependency pytest to v4.6.11

Tine Wittler requested to merge renovate/pytest-4.x into master

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

Compare Source

Bug Fixes

  • #​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).

    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 the letter 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

Compare Source

  • #​6870: New Config.invocation_args attribute containing the unchanged arguments passed to pytest.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

Compare Source

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

Compare Source

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 to 0.4.1 only for Python 3.4 so newer Python versions can still receive colorama updates.

v4.6.7

Compare Source

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 with pytest-xdist for example).

v4.6.6

Compare Source

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 with importlib.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 in attrs>=19.2.

Trivial/Internal Changes

  • #​5801: Fixes python version checks (detected by flake8-2020) in case python4 becomes a thing.

v4.6.5

Compare Source

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 and tmpdir 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 handles xfail(strict=True) markers properly.

  • #​5650: Improved output when parsing an ini configuration file fails.

v4.6.4

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports

Loading