Skip to content

Commit

Permalink
Merge #613
Browse files Browse the repository at this point in the history
613: build(deps): bump pytest from 7.1.2 to 7.2.0 r=ChrisRBe a=dependabot[bot]

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.2 to 7.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p>
<blockquote>
<h2>7.2.0</h2>
<h1>pytest 7.2.0 (2022-10-23)</h1>
<h2>Deprecations</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10012">#10012</a>: Update <code>pytest.PytestUnhandledCoroutineWarning</code>{.interpreted-text role=&quot;class&quot;} to a deprecation; it will raise an error in pytest 8.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10396">#10396</a>: pytest no longer depends on the <code>py</code> library. <code>pytest</code> provides a vendored copy of <code>py.error</code> and <code>py.path</code> modules but will use the <code>py</code> library if it is installed. If you need other <code>py.*</code> modules, continue to install the deprecated <code>py</code> library separately, otherwise it can usually be removed as a dependency.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4562">#4562</a>: Deprecate configuring hook specs/impls using attributes/marks.</p>
<p>Instead use :py<code>pytest.hookimpl</code>{.interpreted-text role=&quot;func&quot;} and :py<code>pytest.hookspec</code>{.interpreted-text role=&quot;func&quot;}.
For more details, see the <code>docs &lt;legacy-path-hooks-deprecated&gt;</code>{.interpreted-text role=&quot;ref&quot;}.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9886">#9886</a>: The functionality for running tests written for <code>nose</code> has been officially deprecated.</p>
<p>This includes:</p>
<ul>
<li>Plain <code>setup</code> and <code>teardown</code> functions and methods: this might catch users by surprise, as <code>setup()</code> and <code>teardown()</code> are not pytest idioms, but part of the <code>nose</code> support.</li>
<li>Setup/teardown using the <a href="https://github.com/pytest-dev/pytest/blob/HEAD/with-setup-nose"><code>`@​with_setup</code></a>` decorator.</li>
</ul>
<p>For more details, consult the <code>deprecation docs &lt;nose-deprecation&gt;</code>{.interpreted-text role=&quot;ref&quot;}.</p>
</li>
</ul>
<h2>Features</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9897">#9897</a>: Added shell-style wildcard support to <code>testpaths</code>.</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10218">#10218</a>: <code>`@pytest.mark.parametrize()</code>` (and similar functions) now accepts any <code>Sequence[str]</code> for the argument names,
instead of just <code>list[str]</code> and <code>tuple[str, ...]</code>.</p>
<p>(Note that <code>str</code>, which is itself a <code>Sequence[str]</code>, is still treated as a
comma-delimited name list, as before).</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10381">#10381</a>: The <code>--no-showlocals</code> flag has been added. This can be passed directly to tests to override <code>--showlocals</code> declared through <code>addopts</code>.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3426">#3426</a>: Assertion failures with strings in NFC and NFD forms that normalize to the same string now have a dedicated error message detailing the issue, and their utf-8 representation is expresed instead.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7337">#7337</a>: A warning is now emitted if a test function returns something other than [None]{.title-ref}. This prevents a common mistake among beginners that expect that returning a [bool]{.title-ref} (for example [return foo(a, b) == result]{.title-ref}) would cause a test to pass or fail, instead of using [assert]{.title-ref}.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/8508">#8508</a>: Introduce multiline display for warning matching via :py<code>pytest.warns</code>{.interpreted-text role=&quot;func&quot;} and
enhance match comparison for :py<code>_pytest._code.ExceptionInfo.match</code>{.interpreted-text role=&quot;func&quot;} as returned by :py<code>pytest.raises</code>{.interpreted-text role=&quot;func&quot;}.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/8646">#8646</a>: Improve :py<code>pytest.raises</code>{.interpreted-text role=&quot;func&quot;}. Previously passing an empty tuple would give a confusing
error. We now raise immediately with a more helpful message.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9741">#9741</a>: On Python 3.11, use the standard library's <code>tomllib</code>{.interpreted-text role=&quot;mod&quot;} to parse TOML.</p>
<p><code>tomli</code>{.interpreted-text role=&quot;mod&quot;}` is no longer a dependency on Python 3.11.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9742">#9742</a>: Display assertion message without escaped newline characters with <code>-vv</code>.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9823">#9823</a>: Improved error message that is shown when no collector is found for a given file.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pytest-dev/pytest/commit/3af3f569d5394bb1a18426b0d57a04a094800974"><code>3af3f56</code></a> Prepare release version 7.2.0</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/bc2c3b66aa084fa4ff64f836aee73eae4cb72818"><code>bc2c3b6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10408">#10408</a> from NateMeyvis/patch-2</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/d84ed48f39f1629a180baea29ec8ec6dac2e386b"><code>d84ed48</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10409">#10409</a> from pytest-dev/asottile-patch-1</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/ffe49ac17c9a9a8aea9a2682897d7b2f10dc9992"><code>ffe49ac</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10396">#10396</a> from pytest-dev/pylib-hax</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/d35209826190c831a338fb2a958215c7e4b5b269"><code>d352098</code></a> allow jobs to pass if codecov.io fails</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/c5c562b645a62a919856d255fd83015cce75014c"><code>c5c562b</code></a> Fix typos in CONTRIBUTING.rst</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/d543a45a6802defbafcff259bdc235af76f7af3a"><code>d543a45</code></a> add deprecation changelog for py library vendoring</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/f341a5c559e00c5ac8d7f48cca7107da6c62b204"><code>f341a5c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10407">#10407</a> from NateMeyvis/patch-1</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/1027dc8c091369ff5e67d97d2a9c09cbf7bc921e"><code>1027dc8</code></a> [pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/6b905ee6dc7301f95714006037f869a15d518d58"><code>6b905ee</code></a> Add note on tags to CONTRIBUTING.rst</li>
<li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.1.2...7.2.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=7.1.2&new-version=7.2.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` 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] authored Dec 2, 2022
2 parents afb45a2 + 7137542 commit 9c949fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage = "==6.5.0"
flake8 = "==4.0.1"
pre-commit = "==2.19.0"
pylint = "==2.13.8"
pytest = "==7.1.2"
pytest = "==7.2.0"
pytest-cov = "==3.0.0"

[packages]
Expand Down

0 comments on commit 9c949fd

Please sign in to comment.