Testfixtures

Latest version: v8.3.0

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

Scan your dependencies

Page 15 of 23

4.5.0

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

- :class:`LogCapture`, :class:`OutputCapture` and :class:`TempDirectory` now
explicitly show what is expected versus actual when reporting differences.

Thanks to Daniel Fortunov for the pull request.

4.4.0

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

- Add support for labelling the arguments passed to :func:`compare`.

- Allow ``expected`` and ``actual`` keyword parameters to be passed to
:func:`compare`.

- Fix ``TypeError: unorderable types`` when :func:`compare` found multiple
differences in sets and dictionaries on Python 3.

- Add official support for Python 3.5.

- Drop official support for Python 2.6.

Thanks to Daniel Fortunov for the initial ideas for explicit ``expected`` and
``actual`` support in :func:`compare`.

4.3.3

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

- Add wheel distribution to release.

- Attempt to fix up various niggles from the move to Travis CI for doing
releases.

4.3.2

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

- Fix broken 4.3.1 tag.

4.3.1

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

- Fix build problems introduced by moving the build process to Travis CI.

4.3.0

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

- Add :meth:`TempDirectory.compare` with a cleaner, more explicit API that
allows comparison of only the files in a temporary directory.

- Deprecate ``TempDirectory.check``, ``TempDirectory.check_dir``
and ``TempDirectory.check_all``

- Relax absolute-path rules so that if it's inside the :class:`TempDirectory`,
it's allowed.

- Allow :class:`OutputCapture` to separately check output to ``stdout`` and
``stderr``.

Page 15 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.