Skip to content

Bump pytest from 5.3.5 to 6.0.1

WKDV Bot requested to merge dependabot/pip/pytest-6.0.1 into develop

Bumps pytest from 5.3.5 to 6.0.1.

Release notes

Sourced from pytest's releases.

6.0.1

pytest 6.0.1 (2020-07-30)

Bug Fixes

  • #7394: Passing an empty help value to Parser.add_option is now accepted instead of crashing when running pytest --help. Passing None raises a more informative TypeError.
  • #7558: Fix pylint not-callable lint on pytest.mark.parametrize() and the other builtin marks: skip, skipif, xfail, usefixtures, filterwarnings.
  • #7559: Fix regression in plugins using TestReport.longreprtext (such as pytest-html) when TestReport.longrepr is not a string.
  • #7569: Fix logging capture handler's level not reset on teardown after a call to caplog.set_level().

6.0.0

pytest 6.0.0 (2020-07-28)

(Please see the full set of changes for this release also in the 6.0.0rc1 notes below)

Breaking Changes

  • #5584: PytestDeprecationWarning are now errors by default.

    Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestDeprecationWarning now generate errors instead of warning messages.

    The affected features will be effectively removed in pytest 6.1, so please consult the Deprecations and Removals section in the docs for directions on how to update existing code.

    In the pytest 6.0.X series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your pytest.ini file:

    [pytest]
    filterwarnings =
        ignore::pytest.PytestDeprecationWarning

    But this will stop working when pytest 6.1 is released.

    If you have concerns about the removal of a specific feature, please add a comment to #5584.

  • #7472: The exec_() and is_true() methods of _pytest._code.Frame have been removed.

Features

... (truncated)
Commits
  • 92af2e2 Prepare release version 6.0.1
  • 0307213 Merge pull request #7582 from bluetech/backport-7581
  • df7b267 Merge pull request #7581 from bluetech/logging-setlevel-handler-restore
  • 1516780 Merge pull request #7578 from nicoddemus/backport-7555
  • b945b39 Merge pull request #7577 from nicoddemus/backport-7427
  • 2d5b8a8 Warn about --basetemp removing the entire directory (#7555)
  • 8963644 Fix --help crash on add_ini(.., help='') and improve message on help=None (#7...
  • e876157 Merge pull request #7574 from nicoddemus/backport-7561
  • 3d2c114 Merge pull request #7573 from nicoddemus/backport-7571
  • fe25284 Merge pull request #7561 from nicoddemus/longreprtext-7559
  • Additional commits viewable in compare view

Merge request reports