Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2022-09-02 16:47:15
Message id: 20220902144715.7AE24FA8C@cvs.NetBSD.org
Log Message:
py-test: updated to 7.1.3
pytest 7.1.3 (2022-08-31)
Bug Fixes
---------
- When running with ``--pdb``, ``TestCase.tearDown`` is no longer called for \
tests when the *class* has been skipped via ``unittest.skip`` or \
``pytest.mark.skip``.
- Invalid XML characters in setup or teardown error messages are now properly \
escaped for JUnit XML reports.
- Ignore ``.py`` files created by ``pyproject.toml``-based editable builds \
introduced in `pip 21.3 <https://pip.pypa.io/en/stable/news/#v21-3>`__.
- Doctests now respect the ``--import-mode`` flag.
- Type-annotate ``FixtureRequest.param`` as ``Any`` as a stop gap measure until \
:issue:`8073` is fixed.
- Fixed a path handling code in ``rewrite.py`` that seems to work fine, but was \
incorrect and fails in some systems.
- Fixed string representation for :func:`pytest.approx` when used to compare tuples.
Improved Documentation
----------------------
- Explicit note that :fixture:`tmpdir` fixture is discouraged in favour of \
:fixture:`tmp_path`.
Trivial/Internal Changes
------------------------
- Replace `atomicwrites \
<https://github.com/untitaker/python-atomicwrites>`__ dependency on \
windows with `os.replace`.
Files: