Use lowercase true/false in assertTrue/assertFalse messages.

This commit is contained in:
Ezio Melotti 2010-12-18 17:31:58 +00:00
parent b68a7bc70c
commit 3044fa77a5
2 changed files with 8 additions and 8 deletions

View file

@ -166,13 +166,13 @@ class TestLongMessage(unittest.TestCase):
def testAssertTrue(self):
self.assertMessages('assertTrue', (False,),
["^False is not True$", "^oops$", "^False is not True$",
"^False is not True : oops$"])
["^False is not true$", "^oops$", "^False is not true$",
"^False is not true : oops$"])
def testAssertFalse(self):
self.assertMessages('assertFalse', (True,),
["^True is not False$", "^oops$", "^True is not False$",
"^True is not False : oops$"])
["^True is not false$", "^oops$", "^True is not false$",
"^True is not false : oops$"])
def testNotEqual(self):
self.assertMessages('assertNotEqual', (1, 1),