#9726: An unnecessary numpy import inside pytest.approx{.interpreted-text role="func"} was removed.
#9820: Fix comparison of dataclasses with InitVar.
#9869: Increase stacklevel for the NODE_CTOR_FSPATH_ARG deprecation to point to the
user's code, not pytest.
#9871: Fix a bizarre (and fortunately rare) bug where the [temp_path]{.title-ref} fixture could raise
an internal error while attempting to get the current user's username.
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)
Coverage remained the same at 95.482% when pulling 0abe23586f11ed3e014ff706931db1be2aaff251 on dependabot/pip/pytest-7.1.2 into dcbf74bfc14d9165f9cc000c0141d53cb7200faa on master.
Bumps pytest from 7.1.1 to 7.1.2.
Release notes
Sourced from pytest's releases.
Commits
2f2f1a6
Prepare release version 7.1.25c04f3a
[7.1.x] Fix wronglog_file
docs (#9879)078733c
Merge pull request #9872 from pytest-dev/backport-9871-to-7.1.x3a7ead6
[7.1.x] fix: move 'import getpass' statement to try-clause6d75333
[7.1.x] Increase stacklevel to point at user's code (#9870)ddbb998
[7.1.x] Increase stacklevel to point at user's code0ec5886
Merge pull request #9855 from pytest-dev/backport-9854-to-7.1.xf2469fc
[7.1.x] Docs: link to easy issues in contributing guide94ec0f8
Merge pull request #9846 from pytest-dev/backport-9842-to-7.1.x5ef96fd
[7.1.x] fix comparison of dataclasses withInitVar
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)