mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
convert old fail* assertions to assert*
This commit is contained in:
parent
98d23f2e06
commit
c9c0f201fe
275 changed files with 4540 additions and 4540 deletions
|
|
@ -11,7 +11,7 @@ class SubclassTests(unittest.TestCase):
|
|||
def verify(self, ABC, *classes):
|
||||
"""Verify the classes are subclasses of the ABC."""
|
||||
for cls in classes:
|
||||
self.assert_(issubclass(cls, ABC))
|
||||
self.assertTrue(issubclass(cls, ABC))
|
||||
|
||||
def test_Finder(self):
|
||||
self.verify(abc.Finder, machinery.BuiltinImporter,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue