summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/testcase.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-71339: Add additional assertion methods in test.support ↵Serhiy Storchaka2025-01-201-0/+57
| | | | | | | | | | | | (GH-128707) (GH-128815) Add a mix-in class ExtraAssertions containing the following methods: * assertHasAttr() and assertNotHasAttr() * assertIsSubclass() and assertNotIsSubclass() * assertStartsWith() and assertNotStartsWith() * assertEndsWith() and assertNotEndsWith() (cherry picked from commit 06cad77a5b345adde88609be9c3c470c5cd9f417)
* [3.13] gh-121039: add Floats/ComplexesAreIdenticalMixin to ↵Sergey B Kirpichev2024-09-301-0/+40
| | | | | | | | | | test.support.testcase (GH-121071) (#123840) * [3.13] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) (cherry picked from commit 8ef8354ef15e00d484ac2ded9442b789c24b11e0) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> * +1
* gh-103791: Make contextlib.suppress also act on exceptions within an ↵Łukasz Langa2023-04-241-0/+25
ExceptionGroup (#103792) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>