Testfixtures

Latest version: v8.2.0

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

Scan your dependencies

Page 15 of 23

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``.

4.2.0

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

- Add :class:`~testfixtures.popen.MockPopen`, a mock helpful when testing
code that uses :class:`subprocess.Popen`.

- :class:`ShouldRaise` now subclasses :class:`object`, so that subclasses of it
may use ``super()``.

- Drop official support for Python 3.2.

Thanks to BATS Global Markets for donating the code for
:class:`~testfixtures.popen.MockPopen`.

Page 15 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.