github pytest-dev/pytest 7.0.1

latest releases: 8.2.1, 8.3.0.dev0, 8.2.0...
2 years ago

pytest 7.0.1 (2022-02-11)

Bug Fixes

  • #9608: Fix invalid importing of importlib.readers in Python 3.9.
  • #9610: Restore [UnitTestFunction.obj]{.title-ref} to return unbound rather than bound method.
    Fixes a crash during a failed teardown in unittest TestCases with non-default [__init__]{.title-ref}.
    Regressed in pytest 7.0.0.
  • #9636: The pythonpath plugin was renamed to python_path. This avoids a conflict with the pytest-pythonpath plugin.
  • #9642: Fix running tests by id with :: in the parametrize portion.
  • #9643: Delay issuing a ~pytest.PytestWarning{.interpreted-text role="class"} about diamond inheritance involving ~pytest.Item{.interpreted-text role="class"} and
    ~pytest.Collector{.interpreted-text role="class"} so it can be filtered using standard warning filters <warnings>{.interpreted-text role="ref"}.

Don't miss a new pytest release

NewReleases is sending notifications on new releases.