From d607bf4c11e1c887621a426f86578f25a8a3d25b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 5 Mar 2026 16:19:29 +0000 Subject: [PATCH] release 2.8.6 Signed-off-by: Stephen Finucane --- NEWS | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 6e3865c9..74a2b173 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,27 @@ testtools NEWS Changes and improvements to testtools_, grouped by release. +NEXT +~~~~ + +2.8.6 +~~~~~ + +Improvements +------------ +* Improve the type annotations for ``testtools.testcase.TestCase.assertRaises``. + This method will now be typed correctly when called as a method or as a + context manager. + (Stephen Finucane, #577, #578) + +2.8.5 +~~~~~ + +Improvements +------------ +* Fix the type annotations for ``testtools.testcase.TestCase.useFixture`` + (Stephen Finucane, #574) + 2.8.4 ~~~~~ @@ -70,8 +91,7 @@ Improvements (Jelmer Vernooij, #538) * Allow stream=None to be passed to various TestResult - classes that now support verbosity; fixes a regression -from 2.8.0. + classes that now support verbosity; fixes a regression from 2.8.0. (Jelmer Vernooij) 2.8.1