Repository navigation
Commit 11fb08f
fix: bump pytest from 7.2.2 to 7.3.0 (microsoft#103)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to
7.3.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.3.0</h2>
<h1>pytest 7.3.0 (2023-04-08)</h1>
<h2>Features</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10525">#10525</a>:
Test methods decorated with <code>@classmethod</code> can now be
discovered as tests, following the same rules as normal methods. This
fills the gap that static methods were discoverable as tests but not
class methods.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10755">#10755</a>:
<code>console_output_style</code>{.interpreted-text
role="confval"} now supports
<code>progress-even-when-capture-no</code> to force the use of the
progress output even when capture is disabled. This is useful in large
test suites where capture may have significant performance impact.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/7431">#7431</a>:
<code>--log-disable</code> CLI option added to disable individual
loggers.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/8141">#8141</a>:
Added <code>tmp_path_retention_count</code>{.interpreted-text
role="confval"} and
<code>tmp_path_retention_policy</code>{.interpreted-text
role="confval"} configuration options to control how
directories created by the <code>tmp_path</code>{.interpreted-text
role="fixture"} fixture are kept.</li>
</ul>
<h2>Improvements</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10226">#10226</a>:
If multiple errors are raised in teardown, we now re-raise an
<code>ExceptionGroup</code> of them instead of discarding all but the
last.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10658">#10658</a>:
Allow <code>-p</code> arguments to include spaces (eg: <code>-p
no:logging</code> instead of
<code>-pno:logging</code>). Mostly useful in the <code>addopts</code>
section of the configuration
file.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10710">#10710</a>:
Added <code>start</code> and <code>stop</code> timestamps to
<code>TestReport</code> objects.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10727">#10727</a>:
Split the report header for <code>rootdir</code>, <code>config
file</code> and <code>testpaths</code> so each has its own line.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10840">#10840</a>:
pytest should no longer crash on AST with pathological position
attributes, for example testing AST produced by [Hylang
<https://github.com/hylang/hy>__]{.title-ref}.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/6267">#6267</a>:
The full output of a test is no longer truncated if the truncation
message would be longer than
the hidden text. The line number shown has also been fixed.</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10743">#10743</a>:
The assertion rewriting mechanism now works correctly when assertion
expressions contain the walrus operator.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10765">#10765</a>:
Fixed <code>tmp_path</code>{.interpreted-text role="fixture"}
fixture always raising <code>OSError</code>{.interpreted-text
role="class"} on <code>emscripten</code> platform due to
missing <code>os.getuid</code>{.interpreted-text
role="func"}.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/1904">#1904</a>:
Correctly handle <code>__tracebackhide__</code> for chained
exceptions.</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10782">#10782</a>:
Fixed the minimal example in
<code>goodpractices</code>{.interpreted-text role="ref"}:
<code>pip install -e .</code> requires a <code>version</code> entry in
<code>pyproject.toml</code> to run successfully.</li>
</ul>
<h2>Trivial/Internal Changes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10669">#10669</a>:
pytest no longer depends on the [attrs]{.title-ref} package (don't
worry, nice diffs for attrs classes are still supported).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ef982aaf2bce28d6b27e24756a4d29377a593a1d"><code>ef982aa</code></a>
Prepare release version 7.3.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/3683722bcbc0facc8fe695c7ece286f26fc6234f"><code>3683722</code></a>
FormattedExcinfo.get_source: avoid crash when line number is
out-of-bounds/ne...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/31d0b51039fc295dfb14bfc5d2baddebe11bb746"><code>31d0b51</code></a>
[automated] Update plugin list (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10857">#10857</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/2d2f69dab5a9042a45d4ee6a1bf0227f8487657b"><code>2d2f69d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/10862">#10862</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/2a39ed3461e44d4801316783308d8d9595422c83"><code>2a39ed3</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a3b39069bc44774206c7bd682e0ca253d5f74efc"><code>a3b3906</code></a>
[automated] Update plugin list (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10838">#10838</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/172c832cbdbfa407087ed6a895a298b48984da2a"><code>172c832</code></a>
[automated] Update plugin list (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10823">#10823</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/839b90db457eacd7a0c541c8a64d0dfe3447a33c"><code>839b90d</code></a>
build(deps): Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10828">#10828</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/549cc512f7aca5da453d22b0663ae4dbbc0d611e"><code>549cc51</code></a>
build(deps): Bump pytest-asyncio in /testing/plugins_integration (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10827">#10827</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/2369bed1db7a2c840e2f651bbef37eaa112f1c0d"><code>2369bed</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/10727">#10727</a>
from RonnyPfannschmidt/ronny/split-report-header</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.0">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Ciborowski <dciborow@microsoft.com>1 parent 27a7210 commit 11fb08f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments