Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2024-09-10 14:36:15
Message id: 20240910123615.7E6F8FC74@cvs.NetBSD.org
Log Message:
py-test: updated to 8.3.3
pytest 8.3.3 (2024-09-09)
Bug fixes
- Avoid calling ``@property`` (and other instance descriptors) during fixture \
discovery
- Fixed the issue of not displaying assertion failure differences when using the \
parameter ``--import-mode=importlib`` in pytest>=8.1.
- Fixed a regression where type change in `ExceptionInfo.errisinstance` caused \
`mypy` to fail.
- Fixed typing compatibility with Python 3.9 or less -- replaced `typing.Self` \
with `typing_extensions.Self`
- Fixed an issue with backslashes being incorrectly converted in nodeid paths on \
Windows, ensuring consistent path handling across environments.
- Fixed bug where the verbosity levels where not being respected when printing \
the "msg" part of failed assertion (as in ``assert condition, msg``).
- Fix bug where disabling the terminal plugin via ``-p no:terminal`` would cause \
crashes related to missing the ``verbose`` option.
Improved documentation
- Clarify that the `pytest_deselected` hook should be called from \
`pytest_collection_modifyitems` hook implementations when items are deselected.
- Remove erroneous quotes from `tmp_path_retention_policy` example in docs.
Miscellaneous internal changes
- Fix typos discovered by codespell and add codespell to pre-commit hooks.
Files: