build(deps-dev): bump pytest-mock from 3.11.1 to 3.12.0 (#244)

Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from
3.11.1 to 3.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's
releases</a>.</em></p>
<blockquote>
<h2>v3.12.0</h2>
<ul>
<li>Added support for Python 3.12.</li>
<li>Dropped support for EOL Python 3.7.</li>
<li><code>mocker.resetall()</code> now also resets mocks created by
<code>mocker.create_autospec</code> (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/390">#390</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's
changelog</a>.</em></p>
<blockquote>
<h2>3.12.0 (2023-10-19)</h2>
<ul>
<li>Added support for Python 3.12.</li>
<li>Dropped support for EOL Python 3.7.</li>
<li><code>mocker.resetall()</code> now also resets mocks created by
<code>mocker.create_autospec</code>
(<code>[#390](https://github.com/pytest-dev/pytest-mock/issues/390)</code>_).</li>
</ul>
<p>.. _<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/390">#390</a>:
<a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/390">pytest-dev/pytest-mock#390</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="69adc6f76c"><code>69adc6f</code></a>
Re-add norewrite tests</li>
<li><a
href="b905823ba6"><code>b905823</code></a>
Drop Python 3.7 and add Python 3.12</li>
<li><a
href="2a71a0d6ab"><code>2a71a0d</code></a>
mocker.resetall now also resets mockers created by
<code>create_autospec</code> (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/390">#390</a>)</li>
<li><a
href="e84f885011"><code>e84f885</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/391">#391</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="e0372217cd"><code>e037221</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="f019696e44"><code>f019696</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/387">#387</a>
from pytest-dev/where-to-patch-link</li>
<li><a
href="09f18148a5"><code>09f1814</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/388">#388</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="f55f17e73b"><code>f55f17e</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="cec59a0b44"><code>cec59a0</code></a>
Update usage.rst</li>
<li><a
href="53cc0a550f"><code>53cc0a5</code></a>
Update usage.rst</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.11.1&new-version=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-10-19 19:52:31 +02:00 committed by GitHub
parent 440f737725
commit ac59427249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

10
poetry.lock generated
View File

@ -4758,13 +4758,13 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale
[[package]]
name = "pytest-mock"
version = "3.11.1"
version = "3.12.0"
description = "Thin-wrapper around the mock package for easier use with pytest"
optional = false
python-versions = ">=3.7"
python-versions = ">=3.8"
files = [
{file = "pytest-mock-3.11.1.tar.gz", hash = "sha256:7f6b125602ac6d743e523ae0bfa71e1a697a2f5534064528c6ff84c2f7c2fc7f"},
{file = "pytest_mock-3.11.1-py3-none-any.whl", hash = "sha256:21c279fff83d70763b05f8874cc9cfb3fcacd6d354247a976f9529d19f9acf39"},
{file = "pytest-mock-3.12.0.tar.gz", hash = "sha256:31a40f038c22cad32287bb43932054451ff5583ff094bca6f675df2f8bc1a6e9"},
{file = "pytest_mock-3.12.0-py3-none-any.whl", hash = "sha256:0972719a7263072da3a21c7f4773069bcc7486027d7e8e1f81d98a47e701bc4f"},
]
[package.dependencies]
@ -7277,4 +7277,4 @@ web-server = ["dash", "dash-auth", "dash-bootstrap-components", "matplotlib", "s
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "74939597cd15da77e6d8c2e07e9c7c2e369b90258e1d5c39ce011be6f7b92c41"
content-hash = "0991655341ec723f73a4bcf7bfc29831b9400e11d69e5e9470f520bd9e0304d7"

View File

@ -121,7 +121,7 @@ types-tqdm = "^4.66.0.2"
pytest = "^7.4.2"
pytest-clarity = "^1.0.1"
pytest-cov = "^4.1.0"
pytest-mock = "^3.11.1"
pytest-mock = "^3.12.0"
pytest-repeat = "^0.9.1"
[tool.poetry.scripts]