mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-71339: Use new assertion methods in tests (GH-129046)
This commit is contained in:
parent
bb244fd33d
commit
2602d8ae98
117 changed files with 407 additions and 445 deletions
|
@ -812,7 +812,7 @@ class BaseXYTestCase(unittest.TestCase):
|
|||
self.assertRaises(ValueError, f, 'with non-ascii \xcb')
|
||||
|
||||
def test_ErrorHeritage(self):
|
||||
self.assertTrue(issubclass(binascii.Error, ValueError))
|
||||
self.assertIsSubclass(binascii.Error, ValueError)
|
||||
|
||||
def test_RFC4648_test_cases(self):
|
||||
# test cases from RFC 4648 section 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue