diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-05 23:26:29 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-05 23:26:29 (GMT) |
commit | b57ac6dc05e7f6c79e1ab8b67cdb7ef9daf0b7d4 (patch) | |
tree | 92a90c63612ca386eefc5d203bbc24244172e26f | |
parent | 1c42b12b35a66c32367346580fe034f6380d284d (diff) | |
download | cpython-b57ac6dc05e7f6c79e1ab8b67cdb7ef9daf0b7d4.zip cpython-b57ac6dc05e7f6c79e1ab8b67cdb7ef9daf0b7d4.tar.gz cpython-b57ac6dc05e7f6c79e1ab8b67cdb7ef9daf0b7d4.tar.bz2 |
Merged revisions 78005 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78005 | michael.foord | 2010-02-05 23:22:37 +0000 (Fri, 05 Feb 2010) | 1 line
Correction to docstring correction.
........
-rw-r--r-- | Lib/unittest/case.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index 18d977f..8632652 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -403,7 +403,7 @@ class TestCase(object): with self.assertRaises(SomeException) as cm: do_something() the_exception = cm.exc_value - self.assertEquals(the_exception.error_code, 3) + self.assertEqual(the_exception.error_code, 3) """ context = _AssertRaisesContext(excClass, self, callableObj) if callableObj is None: |