mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -36,7 +36,7 @@ class HashLibTestCase(unittest.TestCase):
|
|||
except ValueError:
|
||||
pass
|
||||
else:
|
||||
self.assert_(0 == "hashlib didn't reject bogus hash name")
|
||||
self.assertTrue(0 == "hashlib didn't reject bogus hash name")
|
||||
|
||||
def test_hexdigest(self):
|
||||
for name in self.supported_hash_names:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue