cpython/Lib/test/test_unittest/testmock
Serhiy Storchaka 06cad77a5b
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().
2025-01-14 10:02:38 +02:00
..
__init__.py
__main__.py
support.py
testasync.py
testcallable.py
testhelpers.py
testmagicmethods.py
testmock.py
testpatch.py
testsealable.py
testsentinel.py
testthreadingmock.py
testwith.py