Testfixtures

Latest version: v8.3.0

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 23

6.18.0

--------------------

- Add support for lazy resolution of ``prefix`` and ``suffix`` when using
:func:`compare`.

6.17.1

--------------------

- Fix bug where bug where duplicated entries in an ordered but partial
:class:`SequenceComparison` could result in a failed match.

6.17.0

--------------------

- Add simpler flag support to :class:`StringComparison`.

- Fix deprecation warning about invalid escape sequence.

Thanks to Wim Glenn for the deprecation warning fix.

6.16.0

-------------------

- Simplify and clarify the documentation of timezones when using :any:`test_datetime <mock_datetime>` .

- :doc:`api` has been re-arranged to make it easier to browse.

- The ``strict`` parameter to :class:`Comparison` has been deprecated in favour of ``partial``.

- Add :class:`SequenceComparison`, :class:`Subset` and :class:`Permutation` objects.

- Add :class:`MappingComparison` objects.

- Officially support Python 3.9.

6.15.0

-------------------

- Add support to :class:`LogCapture` for making sure log entries above a specified
level have been checked.

Thanks to Zoltan Farkas for the implementation.

6.14.2

-------------------

- Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare`.

Thanks to Grégoire Payen de La Garanderie for the fix.

Page 4 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.