From: Wang Mingyu <[email protected]> Improvements ------------ * Fix an issue with "iterate_tests", which was recently changes to insist on accepting an instance of "unittest.TestSuite", breaking some users. * Improve the type annotations for "testtools.testcase.TestCase.skipTest" * Correct a URL in the README * 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. * Fix the type annotations for "testtools.testcase.TestCase.useFixture" * Clear "force_failure" in "_reset()" so that re-running a test after an "expectThat" failure can succeed if successful conditions are met again. * Make "extract_result()" and "DeferredNotFired" public APIs in "testtools.twistedsupport". These utilities are useful for extracting results from synchronous Deferreds in tests. * Add support for "unittest.TestCase.subTest". Failures are reported individually while the entire test method is still treated as a single test. * Add "testtools.matchers.test" module providing a test harness for users who write their own custom matchers.
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. * "typing-extensions" is no longer required at runtime; it is only needed for type checking. Signed-off-by: Wang Mingyu <[email protected]> --- .../{python3-testtools_2.8.3.bb => python3-testtools_2.8.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-testtools_2.8.3.bb => python3-testtools_2.8.7.bb} (84%) diff --git a/meta/recipes-devtools/python/python3-testtools_2.8.3.bb b/meta/recipes-devtools/python/python3-testtools_2.8.7.bb similarity index 84% rename from meta/recipes-devtools/python/python3-testtools_2.8.3.bb rename to meta/recipes-devtools/python/python3-testtools_2.8.7.bb index 2ac8759784..db3ec2373d 100644 --- a/meta/recipes-devtools/python/python3-testtools_2.8.3.bb +++ b/meta/recipes-devtools/python/python3-testtools_2.8.7.bb @@ -8,7 +8,7 @@ DEPENDS += "python3-hatch-vcs-native" inherit pypi python_hatchling -SRC_URI[sha256sum] = "3b54b543a7583a35f65538b1d36a327fc34943a26bb839bcbe4b2c5e085aa939" +SRC_URI[sha256sum] = "1aa19aaabf9736385fc111a95f94f6b0661c0b41e65ca5129223eb518c63e8b9" RDEPENDS:${PN} += "\ python3-compression \ -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233496): https://lists.openembedded.org/g/openembedded-core/message/233496 Mute This Topic: https://lists.openembedded.org/mt/118397640/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
