Update dependency pytest to v7.3.1
Compare changes
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
pytest (source, changelog) | dev-dependencies | minor |
7.2.2 -> 7.3.1
|
v7.3.1
RuntimeError: TestResult has no addDuration method
when running unittest
tests.shutil.rmtree(onerror=...)
deprecation warning when using tmp_path
{.interpreted-text role="fixture"}.tmp_path
{.interpreted-text role="fixture"} and the new tmp_path_retention_policy
{.interpreted-text role="confval"} option.INTERNALERROR IndexError: list index out of range
which happens when displaying an exception where all entries are hidden.
This reverts the change "Correctly handle __tracebackhide__
for chained exceptions." introduced in version 7.3.0.v7.3.0
@classmethod
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.console_output_style
{.interpreted-text role="confval"} now supports progress-even-when-capture-no
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.--log-disable
CLI option added to disable individual loggers.tmp_path_retention_count
{.interpreted-text role="confval"} and tmp_path_retention_policy
{.interpreted-text role="confval"} configuration options to control how directories created by the tmp_path
{.interpreted-text role="fixture"} fixture are kept.ExceptionGroup
of them instead of discarding all but the last.-p
arguments to include spaces (eg: -p no:logging
instead of
-pno:logging
). Mostly useful in the addopts
section of the configuration
file.start
and stop
timestamps to TestReport
objects.rootdir
, config file
and testpaths
so each has its own line.tmp_path
{.interpreted-text role="fixture"} fixture always raising OSError
{.interpreted-text role="class"} on emscripten
platform due to missing os.getuid
{.interpreted-text role="func"}.__tracebackhide__
for chained exceptions.goodpractices
{.interpreted-text role="ref"}: pip install -e .
requires a version
entry in pyproject.toml
to run successfully.This MR has been generated by Renovate Bot.