Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test4
From: Adam Ciarcinski
Date: 2022-10-11 13:52:44
Message id: 20221011115245.0F928FA90@cvs.NetBSD.org
Log Message:
py-test4: updated to 4.6.11
pytest 4.6.11 (2020-06-04)
==========================
Bug Fixes
---------
- Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were \
used at the same time in the ``-r`` command-line option (for example ``-rFf``).
The upper case variants were never documented and the preferred form should be \
the lower case.
- Fix ``UnboundLocalError: local variable 'letter' referenced before
assignment`` in ``_pytest.terminal.pytest_report_teststatus()``
when plugins return report objects in an unconventional state.
This was making ``pytest_report_teststatus()`` skip
entering if-block branches that declare the ``letter`` variable.
The fix was to set the initial value of the ``letter`` before
the if-block cascade so that it always has a value.
Files: