From 3044fa77a52bf3756ac2ba25baa1c1f23592ec99 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 18 Dec 2010 17:31:58 +0000 Subject: Use lowercase true/false in assertTrue/assertFalse messages. --- Lib/unittest/test/test_assertions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/unittest/test/test_assertions.py') diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py index df2e89ead26..c81db2434b4 100644 --- a/Lib/unittest/test/test_assertions.py +++ b/Lib/unittest/test/test_assertions.py @@ -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), -- cgit v1.2.3