Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test-trio
From: Adam Ciarcinski
Date: 2022-11-15 11:01:56
Message id: 20221115100157.00EEBFA90@cvs.NetBSD.org
Log Message:
py-test-trio: updated to 0.8.0
pytest-trio 0.8.0 (2022-11-01)
------------------------------
Features
~~~~~~~~
- If a test raises an ``ExceptionGroup`` (or nested ``ExceptionGroup``\ s) with only
a single 'leaf' exception from ``pytest.xfail()`` or ``pytest.skip()``\ , we now
unwrap it to have the desired effect on Pytest. ``ExceptionGroup``\ s with two or
more leaf exceptions, even of the same type, are not changed and will be treated
as ordinary test failures.
Bugfixes
~~~~~~~~
- Fix an issue where if two fixtures are being set up concurrently, and
one crashes and the other hangs, then the test as a whole would hang,
rather than being cancelled and unwound after the crash.
Misc
~~~~
- Trio 0.22.0 deprecated ``MultiError`` in favor of the standard-library
(or `backported <https://pypi.org/project/exceptiongroup/>`__) \
``ExceptionGroup``
type; ``pytest-trio`` now uses ``ExceptionGroup`` exclusively and therefore \
requires
Trio 0.22.0 or later.
- Dropped support for end-of-life Python 3.6, and the ``async_generator`` library
necessary to support it, and started testing on Python 3.10 and 3.11.
Files: