convert usage of fail* to assert*

This commit is contained in:
Benjamin Peterson 2009-06-30 22:57:08 +00:00
parent be96cf608f
commit 5c8da86f3a
268 changed files with 5017 additions and 5017 deletions

View file

@ -6,7 +6,7 @@ import genericpath
class AllCommonTest(unittest.TestCase):
def assertIs(self, a, b):
self.assert_(a is b)
self.assertTrue(a is b)
def test_commonprefix(self):
self.assertEqual(
@ -50,7 +50,7 @@ class AllCommonTest(unittest.TestCase):
f.close()
self.assertEqual(d, "foobar")
self.assert_(
self.assertTrue(
genericpath.getctime(test_support.TESTFN) <=
genericpath.getmtime(test_support.TESTFN)
)