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
|
@ -177,7 +177,7 @@ class ImportHooksTestCase(ImportHooksBaseTestCase):
|
|||
|
||||
TestImporter.modules['reloadmodule'] = (False, test_co)
|
||||
import reloadmodule
|
||||
self.failIf(hasattr(reloadmodule,'reloaded'))
|
||||
self.assertFalse(hasattr(reloadmodule,'reloaded'))
|
||||
|
||||
import hooktestpackage.newrel
|
||||
self.assertEqual(hooktestpackage.newrel.get_name(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue