diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-30 23:06:06 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-30 23:06:06 +0000 |
commit | deba941d61c8f02f84a5d1452f568d7dbf4d85e3 (patch) | |
tree | bb698d1f561a00998342883e2c1b3e405a6438aa /Lib/importlib/test/source/test_path_hook.py | |
parent | 5eefe5bea1d72e42ef82ee8d60c33187e43d958c (diff) | |
download | cpython-deba941d61c8f02f84a5d1452f568d7dbf4d85e3.tar.gz |
convert old fail* assertions to assert*
Diffstat (limited to 'Lib/importlib/test/source/test_path_hook.py')
-rw-r--r-- | Lib/importlib/test/source/test_path_hook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/source/test_path_hook.py b/Lib/importlib/test/source/test_path_hook.py index 71ca508911..3efb3bea10 100644 --- a/Lib/importlib/test/source/test_path_hook.py +++ b/Lib/importlib/test/source/test_path_hook.py @@ -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')) |