convert old fail* assertions to assert*

This commit is contained in:
Benjamin Peterson 2009-06-30 23:06:06 +00:00
parent 98d23f2e06
commit c9c0f201fe
275 changed files with 4540 additions and 4540 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, b"foobar")
self.assert_(
self.assertTrue(
genericpath.getctime(support.TESTFN) <=
genericpath.getmtime(support.TESTFN)
)