Bump pytest from 7.2.1 to 7.2.2
Bumps pytest from 7.2.1 to 7.2.2.
Release notes
Sourced from pytest's releases.
7.2.2
pytest 7.2.2 (2023-03-03)
Bug Fixes
- #10533: Fixed
pytest.approx
{.interpreted-text role="func"} handling of dictionaries containing one or more values of [0.0]{.title-ref}.- #10592: Fixed crash if [--cache-show]{.title-ref} and [--help]{.title-ref} are passed at the same time.
- #10597: Fixed bug where a fixture method named
teardown
would be called as part ofnose
teardown stage.- #10626: Fixed crash if
--fixtures
and--help
are passed at the same time.- #10660: Fixed :py
pytest.raises
{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrowpytest.raises(...) if ... else nullcontext()
down to 'ContextManager' rather than 'object'.Improved Documentation
- #10690: Added [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment variables to the documentation.
- #10721: Fixed entry-points declaration in the documentation example using Hatch.
- #10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.
Commits
-
4191e02
Prepare release version 7.2.2 -
eb50c6c
[7.2.x] Normalize how changelog entries are written (#10790) -
9693556
[7.2.x] Fix test_cmdline_python_namespace_package (#10789) -
e8e7d44
[7.2.x] made minor updates to fixtures docs (#10778) -
2fd4549
[7.2.x] docs: be more explicit about module level skip preventing collection ... -
cee8d6f
[7.2.x] Update import mode documentation to not refer to import() anymore... -
79108bf
[7.2.x] add CI and BUILD_NUMBER env var in docs (#10750) -
779a87a
[7.2.x] Update open training (#10740) -
6021681
Merge pull request #10734 from pytest-dev/backport-10725-to-7.2.x -
37e410f
[7.2.x] Fix entry-points declaration in the documentation example using Hatch - Additional commits viewable in compare view