Testfixtures

Latest version: v8.2.0

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

Scan your dependencies

Page 16 of 23

4.1.2

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

- Clarify documentation for ``name`` parameter to :class:`LogCapture`.

- :class:`ShouldRaise` now shows different output when two exceptions have
the same representation but still differ.

- Fix bug that could result in a :class:`dict` comparing equal to a
:class:`list`.

Thanks to Daniel Fortunov for the documentation clarification.

4.1.1

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

- Fix bug that prevented logger propagation to be controlled by the
:class:`log_capture` decorator.

Thanks to John Kristensen for the fix.

4.1.0

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

- Fix :func:`compare` bug when :class:`dict` instances with
:class:`tuple` keys were not equal.

- Allow logger propagation to be controlled by :class:`LogCapture`.

- Enabled disabled loggers if a :class:`LogCapture` is attached to them.

Thanks to Daniel Fortunov for the :func:`compare` fix.

4.0.2

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

- Fix "maximum recursion depth exceeded" when comparing a string with
bytes that did not contain the same character.

4.0.1

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

- Fix bugs when string compared equal and options to :func:`compare`
were used.

- Fix bug when strictly comparing two nested structures containing
identical objects.

4.0.0

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

- Moved from buildout to virtualenv for development.

- The ``identity`` singleton is no longer needed and has been
removed.

- :func:`compare` will now work recursively on data structures for
which it has registered comparers, giving more detailed feedback on
nested data structures. Strict comparison will also be applied
recursively.

- Re-work the interfaces for using custom comparers with
:func:`compare`.

- Better feedback when comparing :func:`collections.namedtuple`
instances.

- Official support for Python 3.4.

Thanks to Yevgen Kovalienia for the typo fix in :doc:`datetime`.

Page 16 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.