diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-12-18 17:55:43 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-12-18 17:55:43 +0000 |
commit | a2eb94b1cf65e422ec8e3fb3f417d496cf80167b (patch) | |
tree | 1e0d8c4e023b5e6c8642cf050c10219916749314 /Lib/test/test_unittest.py | |
parent | 28b77ece829110379a4ea3d9e45246b69ed5df67 (diff) | |
download | cpython-git-a2eb94b1cf65e422ec8e3fb3f417d496cf80167b.tar.gz |
Merged revisions 87377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line
Use lowercase true/false in assertTrue/assertFalse messages.
........
Diffstat (limited to 'Lib/test/test_unittest.py')
-rw-r--r-- | Lib/test/test_unittest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_unittest.py b/Lib/test/test_unittest.py index ae91a877cb..21e0806a31 100644 --- a/Lib/test/test_unittest.py +++ b/Lib/test/test_unittest.py @@ -3010,13 +3010,13 @@ class TestLongMessage(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), |