SIGN IN SIGN UP

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().
S
Serhiy Storchaka committed
06cad77a5b345adde88609be9c3c470c5cd9f417
Parent: 41f7350
Committed by GitHub <noreply@github.com> on 1/14/2025, 8:02:38 AM