Skip to content

Releases: testing-cabal/testtools

2.7.2

10 Jun 13:29
ac6919f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.7.1...2.7.2

2.7.1

10 Jun 12:45
2.7.1
48d7c5d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.7.0...2.7.1

2.7.0

01 Nov 21:05
2.7.0
87ab359
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.6.0...2.7.0

2.6.0

23 Sep 22:14
280f427
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.5.0...2.6.0

testtools 2.5.0

14 Jul 19:43
2.5.0
a6554f4
Compare
Choose a tag to compare

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