Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2024-12-02 09:10:01
Message id: 20241202081001.82996FC1C@cvs.NetBSD.org
Log Message:
py-test: updated to 8.3.4
pytest 8.3.4 (2024-12-01)
Bug fixes
- Fixed :class:`KeyError` crash when using ``--import-mode=importlib`` in a \
directory layout where a directory contains a child directory with the same \
name.
- 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://github.com/alexmojaki/executing>`__.
- ANSI escape codes for colored output now handled correctly in \
:func:`pytest.fail` with `pytrace=False`.
- :func:`pytest.approx` now uses strict equality when given booleans.
Improved documentation
- Fix ambiguous docstring of :func:`pytest.Config.getoption`.
- Improve documentation on the current handling of the ``--basetemp`` option and \
its lack of retention functionality (:ref:`temporary directory location and \
retention`).
- Improved cross-references concerning the :fixture:`recwarn` fixture.
- Clarify :ref:`filterwarnings` docs on filter precedence/order when using \
multiple :ref:`@pytest.mark.filterwarnings <pytest.mark.filterwarnings \
ref>` marks.
Contributor-facing changes
- Fixed two failing pdb-related tests on Python 3.13.
Files: