github pytest-dev/pytest 7.1.3

latest releases: 8.2.1, 8.3.0.dev0, 8.2.0...
20 months ago

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 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

Don't miss a new pytest release

NewReleases is sending notifications on new releases.