Testfixtures

Latest version: v8.2.0

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

Scan your dependencies

Page 13 of 23

4.13.0

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

- Add support to :func:`compare` for ignoring broken ``__eq__`` implementations.

4.12.0

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

- Add support for specifying a callable to extract rows from log records
when using :class:`LogCapture`.

- Add support for recursive comparison of log messages with :class:`LogCapture`.

4.11.0

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

- Allow the attributes returned in :meth:`LogCapture.actual` rows to be
specified.

- Allow a default to be specified for encoding in :meth:`TempDirectory.read` and
:meth:`TempDirectory.write`.

4.10.1

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

- Better docs for :meth:`TempDirectory.compare`.

- Remove the need for expected paths supplied to :meth:`TempDirectory.compare`
to be in sorted order.

- Document a good way of restoring ``stdout`` when in a debugger.

- Fix handling of trailing slashes in :meth:`TempDirectory.compare`.

Thanks to Maximilian Albert for the :meth:`TempDirectory.compare` docs.

4.10.0

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

- Fixed examples in documentation broken in 4.5.1.

- Add :class:`RangeComparison` for comparing against values that fall in a
range.

- Add :meth:`~popen.MockPopen.set_default` to :class:`~popen.MockPopen`.

Thanks to Asaf Peleg for the :class:`RangeComparison` implementation.

4.9.1

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

- Fix for use with PyPy, broken since 4.8.0.

Thanks to Nicola Iarocci for the pull request to fix.

Page 13 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.