stable

python-testtools-2.8.5-1.fc44

FEDORA-2026-3fb4b3df91 created by salimma a month ago for Fedora 44

2.8.4

Improvements

  • Clear force_failure in _reset() so that re-running a test after an expectThat failure can succeed if successful conditions are met again. (OumarCamara, #563)
  • Make extract_result() and DeferredNotFired public APIs in testtools.twistedsupport. These utilities are useful for extracting results from synchronous Deferreds in tests. (Jelmer Vernooij, #546)
  • Add support for unittest.TestCase.subTest. Failures are reported individually while the entire test method is still treated as a single test. (Stephen Finucane, #567)
  • Add testtools.matchers.test module providing a test harness for users who write their own custom matchers. (Stephen Finucane)

Changes

  • Re-add compat helpers and helper modules that were accidentally removed in a patch release, breaking API compatibility. These are now deprecated and will be removed in a future major release. (Stephen Finucane, #566)
  • typing-extensions is no longer required at runtime; it is only needed for type checking. (Jelmer Vernooij, Takashi Kajinami, #569, #571)

2.8.3

Changes

  • Add \'Typing :: Typed\' classifier to package metadata. (Jelmer Vernooij)

Improvements

  • Add comprehensive type annotations to assertions, compat, run, and other modules. (Jelmer Vernooij, Stephen Finucane)
  • Support async setUp/tearDown validation with Deferreds. (Jelmer Vernooij)

2.8.2

Changes

Fully migrate away from Launchpad to GitHub.

Improvements

  • Support binary contents in FileContains matcher. (Jelmer Vernooij, #538)

* Allow stream=None to be passed to various TestResult

: classes that now support verbosity; fixes a regression

from 2.8.0.

: (Jelmer Vernooij)

2.8.1

Improvements

  • Add Nearly matcher for approximate numerical comparisons. (Jelmer Vernooij, #222)
  • Improve handling of sets in assertEquals. (Jelmer Vernooij, #108)

Changes

  • Re-add accidentally removed methods on StreamToExtendedDecorator. (Jelmer Vernooij)
  • Add typing. (Jelmer Vernooij, Stephen Finucane)

2.8.0

Changes

  • Drop support for Python 3.8. (Stephen Finucane)
  • Drop support for Python 3.9. (Jelmer Vernooij)
  • Add support for Python 3.13 and 3.14. (Jelmer Vernooij)

Improvements

  • Implemented verbosity support for the test runner. The -v (--verbose) flag is now functional and properly controls output verbosity. Verbosity levels: 0 (quiet), 1 (dots, default), 2 (test names). This applies to both normal test runs and discovery mode. (LP: #872906)
  • Add support for Python 3.12\'s addDuration method and collectedDurations attribute in TestResult classes. (Jelmer Vernooij, #2045171)
  • Remove a number of deprecated classes and methods. (Stephen Finucane)
  • testtools.matchers
    • AfterPreproccessing (use AfterPreprocessing)
  • testtools.testcase
    • TestSkipped (use unittest.SkipTest)
    • TestCase.skip (use TestCase.skipTest)
    • TestCase.failUnlessEqual (use TestCase.assertEqual)
    • TestCase.assertEquals (use TestCase.assertEqual)
    • TestCase.failUnlessRaises (use TestCase.assertRaises)
    • TestCase.assertItemsEqual (use TestCase.assertCountEqual)
  • testtools.testresult.real
    • domap (no replacement)
  • testtools.twistedsupport._runtest
    • run_with_log_observers (no replacement)

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2026-3fb4b3df91

This update has been submitted for testing by salimma.

a month ago

This update's test gating status has been changed to 'ignored'.

a month ago

salimma edited this update.

a month ago

This update has been pushed to testing.

a month ago

This update has been submitted for stable by bodhi.

a month ago

This update has been pushed to stable.

a month ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
1
Stable by Time
7 days
Dates
submitted
a month ago
in testing
a month ago
in stable
a month ago
modified
a month ago
approved
a month ago
BZ#2413751 python-testtools-2.8.5 is available
0
0

Automated Test Results