./devel/py-test-trio, Python testing tool for trio

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.0, Package name: py310-test-trio-0.8.0, Maintainer: pkgsrc-users

This is a pytest plugin to help you test projects that use Trio,
a friendly library for concurrency and async I/O in Python.


Master sites:

Filesize: 45.435 KB

Version history: (Expand)


CVS history: (Expand)


   2022-11-15 11:01:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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.
   2022-03-31 23:47:54 by Thomas Klausner | Files touched by this commit (4)
Log message:
devel/py-test-trio: import py-test-trio-0.7.0

This is a pytest plugin to help you test projects that use Trio,
a friendly library for concurrency and async I/O in Python.