mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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
|
|
@ -204,7 +204,7 @@ class BaseXYTestCase(unittest.TestCase):
|
|||
self.assertRaises(TypeError, base64.b16decode, "")
|
||||
|
||||
def test_ErrorHeritage(self):
|
||||
self.assert_(issubclass(binascii.Error, ValueError))
|
||||
self.assertTrue(issubclass(binascii.Error, ValueError))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue