factory
- Update to 12.1.0:
* :func:`compare` now supports :doc:`numpy <numpy>` arrays.
* Added a helper for :doc:`testing command-line scripts <command>`.
- update to 12.0.1:
* Fix bug where :class:`frozensets <frozenset>` would not
:func:`compare` equal when a library requiring ignore_eq for
its types, such as :doc:`polars <polars>`, was present.
* Comparers have moved from :mod:`!testfixtures.comparison` to
:mod:`testfixtures.comparers`.
* :func:`!django_compare` has been removed, :func:`compare` now
works with Django models.
* Refactoring of :class:`LogCapture` to introduce support for
:doc:`loguru <loguru>`, :doc:`structlog <structlog>` and
similar support for :doc:`twisted <twisted>` by way of the
new :class:`~testfixtures.logcapture.CaptureSource`
architecture.
* :func:`compare` now supports per-type ignore_eq.
* :func:`compare` now supports both :doc:`polars <polars>` and
:doc:`pandas <pandas>` dataframes.
* :func:`compare` now provides better feedback when objects
being compared raised exceptions in their :any:`str` or
:any:`repr`.
* Added raises parameter to :meth:`OutputCapture.compare`,
:meth:`LogCapture.check` and :meth:`LogCapture.check_present`
to they can be more easily used in compositions.
OBS-URL: https://build.opensuse.org/request/show/1360135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=32
Description
No description provided
Languages
RPM Spec
100%