mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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
|
@ -19,7 +19,7 @@ class PathHookTests(unittest.TestCase):
|
|||
def test_success(self):
|
||||
# Path hook should handle a directory where a known extension module
|
||||
# exists.
|
||||
self.assert_(hasattr(self.hook(util.PATH), 'find_module'))
|
||||
self.assertTrue(hasattr(self.hook(util.PATH), 'find_module'))
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue