diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-12-18 17:58:29 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-12-18 17:58:29 (GMT) |
commit | c139a5683b58b0ed1f639b5da1b8a53841f71772 (patch) | |
tree | 41370eea62609f4e14da56924555a1f257e80835 /Lib/unittest/test/test_assertions.py | |
parent | 3f752ab22e369bd664bbce395099f263e3cff784 (diff) | |
download | cpython-c139a5683b58b0ed1f639b5da1b8a53841f71772.zip cpython-c139a5683b58b0ed1f639b5da1b8a53841f71772.tar.gz cpython-c139a5683b58b0ed1f639b5da1b8a53841f71772.tar.bz2 |
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/unittest/test/test_assertions.py')
-rw-r--r-- | Lib/unittest/test/test_assertions.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py index 1e40789..e85ca91 100644 --- a/Lib/unittest/test/test_assertions.py +++ b/Lib/unittest/test/test_assertions.py @@ -165,13 +165,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), |