diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2025-01-14 08:02:38 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 08:02:38 (GMT) |
| commit | 06cad77a5b345adde88609be9c3c470c5cd9f417 (patch) | |
| tree | 3c66069a2a22b4bffe221c3db5da638faad45ee9 /Lib/compiler/future.py | |
| parent | 41f73501eca2ff8b42fa4811d918a81c052a758b (diff) | |
| download | cpython-06cad77a5b345adde88609be9c3c470c5cd9f417.zip cpython-06cad77a5b345adde88609be9c3c470c5cd9f417.tar.gz cpython-06cad77a5b345adde88609be9c3c470c5cd9f417.tar.bz2 | |
gh-71339: Add additional assertion methods for unittest (GH-128707)
Add the following methods:
* assertHasAttr() and assertNotHasAttr()
* assertIsSubclass() and assertNotIsSubclass()
* assertStartsWith() and assertNotStartsWith()
* assertEndsWith() and assertNotEndsWith()
Also improve error messages for assertIsInstance() and
assertNotIsInstance().
Diffstat (limited to 'Lib/compiler/future.py')
0 files changed, 0 insertions, 0 deletions
