Skip to content

7.1.3

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Sep 11:13
· 1533 commits to main since this release

pytest 7.1.3 (2022-08-31)

Bug Fixes

  • #10060: When running with --pdb, TestCase.tearDown is no longer called for tests when the class has been skipped via unittest.skip or pytest.mark.skip.
  • #10190: Invalid XML characters in setup or teardown error messages are now properly escaped for JUnit XML reports.
  • #10230: Ignore .py files created by pyproject.toml-based editable builds introduced in pip 21.3.
  • #3396: Doctests now respect the --import-mode flag.
  • #9514: Type-annotate FixtureRequest.param as Any as a stop gap measure until 8073{.interpreted-text role="issue"} is fixed.
  • #9791: Fixed a path handling code in rewrite.py that seems to work fine, but was incorrect and fails in some systems.
  • #9917: Fixed string representation for pytest.approx{.interpreted-text role="func"} when used to compare tuples.

Improved Documentation

  • #9937: Explicit note that tmpdir{.interpreted-text role="fixture"} fixture is discouraged in favour of tmp_path{.interpreted-text role="fixture"}.

Trivial/Internal Changes