pytest 8.3.5 (2025-03-02)
Bug fixes
- #11777: Fixed issue where sequences were still being shortened even with
-vv
verbosity. - #12888: Fixed broken input when using Python 3.13+ and a
libedit
build of Python, such as on macOS or with uv-managed Python binaries from thepython-build-standalone
project. This could manifest e.g. by a broken prompt when usingPdb
, or seeing empty inputs with manual usage ofinput()
and suspended capturing. - #13026: Fixed
AttributeError
{.interpreted-text role="class"} crash when using--import-mode=importlib
when top-level directory same name as another module of the standard library. - #13053: Fixed a regression in pytest 8.3.4 where, when using
--import-mode=importlib
, a directory containing py file with the same name would cause anImportError
- #13083: Fixed issue where pytest could crash if one of the collected directories got removed during collection.
Improved documentation
-
#12842: Added dedicated page about using types with pytest.
See
types
{.interpreted-text role="ref"} for detailed usage.