Commit 757cc4d1 authored by Michael Foord's avatar Michael Foord

Correction to docstring correction.

parent d0edec38
......@@ -390,7 +390,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)
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