[Compare Source](https://redirect.github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)
pytest 8.3.4 (2024-12-01)
Bug fixes
- [&8203;12592](https://redirect.github.com/pytest-dev/pytest/issues/12592): Fixed
`KeyError`{.interpreted-text role="class"} crash when using `--import-mode=importlib` in a
directory layout where a directory contains a child directory with the same name.
- [&8203;12818](https://redirect.github.com/pytest-dev/pytest/issues/12818): Assertion rewriting
now preserves the source ranges of the original instructions, making it play well with tools that
deal with the `AST`, like [executing](https://redirect.github.com/alexmojaki/executing).
- [&8203;12849](https://redirect.github.com/pytest-dev/pytest/issues/12849): ANSI escape codes for
colored output now handled correctly in `pytest.fail`{.interpreted-text role="func"} with
\[pytrace=False]{.title-ref}.
- [&8203;9353](https://redirect.github.com/pytest-dev/pytest/issues/9353):
`pytest.approx`{.interpreted-text role="func"} now uses strict equality when given booleans.
Improved documentation
- [&8203;10558](https://redirect.github.com/pytest-dev/pytest/issues/10558): Fix ambiguous
docstring of `pytest.Config.getoption`{.interpreted-text role="func"}.
- [&8203;10829](https://redirect.github.com/pytest-dev/pytest/issues/10829): Improve documentation
on the current handling of the `--basetemp` option and its lack of retention functionality
(`temporary directory location and retention`{.interpreted-text role="ref"}).
- [&8203;12866](https://redirect.github.com/pytest-dev/pytest/issues/12866): Improved
cross-references concerning the `recwarn`{.interpreted-text role="fixture"} fixture.
- [&8203;12966](https://redirect.github.com/pytest-dev/pytest/issues/12966): Clarify
`filterwarnings`{.interpreted-text role="ref"} docs on filter precedence/order when using multiple
`pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>`{.interpreted-text role="ref"}
marks.
Contributor-facing changes
- [&8203;12497](https://redirect.github.com/pytest-dev/pytest/issues/12497): Fixed two failing
pdb-related tests on Python 3.13.
</details>
Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job
log](https://developer.mend.io/github/MartinBernstorff/Memium).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]users.noreply.github.com>