Skip to content

Releases: testing-cabal/testtools

2.8.1

18 Dec 20:40
2.8.1
024897b

Choose a tag to compare

What's Changed

Full Changelog: 2.8.0...2.8.1

2.8.0

10 Nov 11:00
2.8.0

Choose a tag to compare

What's Changed

  • Switch to hatchling for building tarballs by @jelmer in #382
  • README.rst: fix formatting by @jelmer in #383
  • Prepare tests for upcoming twisted version by @arkamar in #387
  • Make version tuple major/minor/patch elements integers by @jelmer in #404
  • Stop using twisted.internet.defer.returnValue by @cjwatson in #413
  • Remove support for Python 3.8 + deprecated methods and classes by @stephenfin in #424
  • Support TestCase.assertRaises being used as a context manager by @jelmer in #443
  • Enable more ruff lints and fix reported issues by @jelmer in #444
  • doc: Bump minimum supported python version by @kajinamit in #447
  • Remove deprecated Python26Result and Python27Result by @jelmer in #445
  • Add tox env to run ruff by @kajinamit in #448
  • Replace deprecated datetime module APIs by @kajinamit in #446
  • Support addDuration by @jelmer in #453
  • Bump ruff from 0.12.2 to 0.12.3 by @dependabot[bot] in #454
  • Preserve type when using fixture by @allenap in #455
  • Relax the return type on UseFixtureProtocol.getDetails by @allenap in #456
  • Bump ruff from 0.12.3 to 0.12.5 by @dependabot[bot] in #458
  • Avoid using try_import by @jelmer in #459
  • Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #466
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #463
  • Drop Python 3.9 support and add Python 3.13 and 3.14 support. by @jelmer in #476

New Contributors

Full Changelog: 2.7.2...2.8.0

2.7.2

10 Jun 13:29
ac6919f

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

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

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

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

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.