Fixtures

Latest version: v4.1.0

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

Scan your dependencies

Page 2 of 6

1.3.1

~~~~~

* ``Fixture.setUp`` now uses a bare except: and will thus catch BaseException.
Any non-Exception-subclass errors are raised verbatim after calling
``cleanUp``, to avoid inappropriate masking in callers. (Robert Collins)

1.3.0

~~~~~

* Add MockPatch, MockPatchMultiple, MockPatchObject - adapters to mock.
(Julien Danjou, Robert Collins)

* Fixture.setUp should no longer be overridden in subclasses. Instead
override _setUp. This permits the Fixture base class to detect failures
during _setUp and trigger any registered cleanups, attach any details
to the failure exception and propagate that to callers. Overriding of
setUp is still supported: this adds a new interface for simpler
implementation of the contract of a fixture.
(Robert Collins, 1456361, 1456353)

1.2.0

~~~~~

* Add warnings module fixture for capturing warnings. (Joshua Harlow)

1.1.0

~~~~~

CHANGES
-------

* FakeLogger now supports a custom formatter. (Sean Dague)

* Fixed test performance on Python 3.5. PEP 475 led to ``time.sleep()`` not
being interrupted when a received signal handler eats the signal (rather
than raising an exception). (Robert Collins)

* ``tox.ini`` added, for folk that use tox. (Sean Dague)

1.0.0

~~~~~

CHANGES
-------

* Fix incorrect entry_point. (Gabi Davar)

0.3.17

~~~~~~

CHANGES
-------

* FakeLogger now supports the ``datefmt`` parameter.
(Sean Dague)

* Fixtures source code is now hosted on
`github <https://github.com/testing-cabal/fixtures>`_.
(Robert Collins)

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.