Testtools

Latest version: v2.7.2

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

Scan your dependencies

Page 1 of 11

2.7.2

~~~~~

Improvements
------------

* Treat methodName="runTest" similar to unittest.TestCase,
fixes compatibility with pytest 8.3. (Natanael Copa, 372)

* Format with ``ruff format``. (Jelmer Vernooij)

* Use ruff for linting. (Jelmer Vernooij)

* Fix compatibility with Python 3.12.1. (Matthew Treinish)

* Deprecate SkippedTest exception. (Stephen Finucane)

* Drop support for Python 3.7. (Jelmer Vernooij)

2.7.1

~~~~~

Improvements
------------

* Remove various unused imports.
(Jelmer Vernooij)

* Fix build backend. This should prevent version from being set to 0.0.0
when building wheels. (Jelmer Vernooij, 363)

2.7.0

~~~~~

Improvements
------------

* Fix compatibility with Python 3.12.
(Jake Lishman, 353)

* Add typing in various modules (still lacking full coverage).
(Jelmer Vernooij)

* Drop the 'test' command for distutils. This has been
deprecated since 2.6.0. (Jelmer Vernooij)

* Drop support for Python 3.6.
(Jelmer Vernooij)

2.6.0

~~~~~

Improvements
------------

* Add support for Python 3.10 and 3.11.
(Jürgen Gmach, Colin Watson)

* Drop support for Python 3.5 (EOL).
(Hugo van Kemenade)

* Distutils integration is deprecated and will be removed in the next major
version.
(Stephen Finucane)

* Use ``CompoundFixture`` from ``fixtures>=2.0`` rather than rolling our
own.
(Colin Watson)

* Provide a ``testtools[twisted]`` extra documenting dependencies needed for
``testtools.twistedsupport``.
(Colin Watson)

* Make ``TestCase`` hashable.
(Ben Beecher)

* Prevent ``AttributeError`` in ``TestCase.__eq__`` for objects lacking a
``__dict__`` attribute.
(Tim Burke)

* Replace deprecated ``cgi`` module usage with ``email``.
(Matthew Treinish)

2.5.0

~~~~~

Improvements
------------

* Add support for Python 3.9.
(Hugo van Kemenade)

* Python 3.5 has reached end-of-life and this is the last release to support it.

* The skip, skipIf, and skipUnless decorators can now be used as class
decorators as well as test method decorators, just as they can in
unittest.

* The ``SameMembers`` matcher class is now exposed as part of the public
matchers API.

Changes
-------

* The dependency on the ``unittest2`` module has been removed. This has some
knock on effects, including the removal of the ``assertItemsEqual`` helper
which was removed from ``unittest`` in Python 3.x.

* The ``safe_hasattr`` utility has been removed from ``testtools.helpers``.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to the ``extras`` package. It is no longer used on Python 3-only
projects.

* The ``try_imports`` utility has been removed from ``testtools.helpers``.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to the ``extras`` package. It is no longer used within testtools and
has therefore been dropped.

2.4.0

~~~~~

Improvements
------------

* Add support for Python 3.7, 3.8 and PyPy3.
(Hugo van Kemenade)

* Drop support for Python 3.4 (EOL).
(Jelmer Vernooij)

* Avoid using eval(). (Ross Burton)

* PyCharm IDE unittest detection compatibility fix.
(Adam Harwell)

* Drop support for Python 3.3 (EOL).
(Robert Collins)

* Spelling fixes. (Free Ekanayaka)

* Python 3.6 invalid escape sequence deprecation fixes. (Ville Skyttä)

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.