Commit b8629bd6 authored by Michael Foord's avatar Michael Foord

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.
........
parent 15207582
...@@ -403,7 +403,7 @@ class TestCase(object): ...@@ -403,7 +403,7 @@ class TestCase(object):
with self.assertRaises(SomeException) as cm: with self.assertRaises(SomeException) as cm:
do_something() do_something()
the_exception = cm.exc_value the_exception = cm.exc_value
self.assertEquals(the_exception.error_code, 3) self.assertEqual(the_exception.error_code, 3)
""" """
context = _AssertRaisesContext(excClass, self, callableObj) context = _AssertRaisesContext(excClass, self, callableObj)
if callableObj is None: if callableObj is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment