testtools 2.5.0
Changelog
Improvements
-
Add support for Python 3.9.
-
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
SameMembersmatcher class is now exposed as part of the public
matchers API.
Changes
-
The dependency on the
unittest2module has been removed. This has some
knock on effects, including the removal of theassertItemsEqualhelper
which was removed fromunittestin Python 3.x. -
The
safe_hasattrutility has been removed fromtesttools.helpers.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to theextraspackage. It is no longer useless on Python 3-only
projects. -
The
try_importsutility has been removed fromtesttools.helpers.
This was a compat wrapper introduced in 0.9.25 when the utility itself was
moved to theextraspackage. It is no longer used within testtools and
has therefore been dropped.