commit | 757cc4d15f1f6c4571fc58f9aa46a611bc8c00e4 | [log] [tgz] |
---|---|---|
author | Michael Foord <fuzzyman@voidspace.org.uk> | Fri Feb 05 23:22:37 2010 +0000 |
committer | Michael Foord <fuzzyman@voidspace.org.uk> | Fri Feb 05 23:22:37 2010 +0000 |
tree | 5a8f1d7ef49c9ad9a0985770c3785c438c6ef81f | |
parent | d0edec38cefa1d69c3026ee0c7268dde5b3554df [diff] [blame] |
Correction to docstring correction.
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index b058b49..4568e10 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py
@@ -390,7 +390,7 @@ 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) if callableObj is None: