#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().
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on pytest to permit the latest version.
Release notes
Sourced from pytest's releases.
Commits
92af2e2
Prepare release version 6.0.10307213
Merge pull request #7582 from bluetech/backport-7581df7b267
Merge pull request #7581 from bluetech/logging-setlevel-handler-restore1516780
Merge pull request #7578 from nicoddemus/backport-7555b945b39
Merge pull request #7577 from nicoddemus/backport-74272d5b8a8
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-75613d2c114
Merge pull request #7573 from nicoddemus/backport-7571fe25284
Merge pull request #7561 from nicoddemus/longreprtext-7559Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)