Patch by Christian Heimes to change self.assert_(x == y) into

self.assertEqual(x, y).  (Christian used self.failUnlessEqual(),
but the double negative makes it hard to grok, so I changed it.)
This commit is contained in:
Guido van Rossum 2007-07-11 12:20:59 +00:00
parent c9b9de1797
commit e61fd5b5ed
23 changed files with 294 additions and 294 deletions

View file

@ -6,7 +6,7 @@ import unittest
class MacPathTestCase(unittest.TestCase):
def test_abspath(self):
self.assert_(macpath.abspath("xx:yy") == "xx:yy")
self.assertEqual(macpath.abspath("xx:yy"), "xx:yy")
def test_isabs(self):
isabs = macpath.isabs