mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +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
|
@ -10,7 +10,7 @@ class PathHookTest(unittest.TestCase):
|
|||
def test_success(self):
|
||||
# XXX Only work on existing directories?
|
||||
with source_util.create_modules('dummy') as mapping:
|
||||
self.assert_(hasattr(_bootstrap._FileFinder(mapping['.root']),
|
||||
self.assertTrue(hasattr(_bootstrap._FileFinder(mapping['.root']),
|
||||
'find_module'))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue