Bump pytest from 5.3.5 to 6.0.1
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
helpvalue toParser.add_optionis now accepted instead of crashing when runningpytest --help. PassingNoneraises a more informativeTypeError.- #7558: Fix pylint
not-callablelint onpytest.mark.parametrize()and the other builtin marks:skip,skipif,xfail,usefixtures,filterwarnings.- #7559: Fix regression in plugins using
TestReport.longreprtext(such aspytest-html) whenTestReport.longrepris 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
PytestDeprecationWarningnow 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.Xseries, it is possible to change the errors back into warnings as a stopgap measure by adding this to yourpytest.inifile:[pytest] filterwarnings = ignore::pytest.PytestDeprecationWarningBut this will stop working when pytest
6.1is released.If you have concerns about the removal of a specific feature, please add a comment to #5584.
#7472: The
exec_()andis_true()methods of_pytest._code.Framehave been removed.Features
... (truncated)
Commits
-
92af2e2Prepare release version 6.0.1 -
0307213Merge pull request #7582 from bluetech/backport-7581 -
df7b267Merge pull request #7581 from bluetech/logging-setlevel-handler-restore -
1516780Merge pull request #7578 from nicoddemus/backport-7555 -
b945b39Merge pull request #7577 from nicoddemus/backport-7427 -
2d5b8a8Warn about --basetemp removing the entire directory (#7555) -
8963644Fix --help crash on add_ini(.., help='') and improve message on help=None (#7... -
e876157Merge pull request #7574 from nicoddemus/backport-7561 -
3d2c114Merge pull request #7573 from nicoddemus/backport-7571 -
fe25284Merge pull request #7561 from nicoddemus/longreprtext-7559 - Additional commits viewable in compare view