[Python-checkins] r78008 - in python/branches/py3k: Doc/library/unittest.rst
michael.foord
python-checkins at python.org
Sat Feb 6 00:32:33 CET 2010
Author: michael.foord
Date: Sat Feb 6 00:32:33 2010
New Revision: 78008
Log:
Merged revisions 78007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line
Minor doc change.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/library/unittest.rst
Modified: python/branches/py3k/Doc/library/unittest.rst
==============================================================================
--- python/branches/py3k/Doc/library/unittest.rst (original)
+++ python/branches/py3k/Doc/library/unittest.rst Sat Feb 6 00:32:33 2010
@@ -902,7 +902,7 @@
do_something()
the_exception = cm.exc_value
- self.assertEquals(the_exception.error_code, 3)
+ self.assertEqual(the_exception.error_code, 3)
.. versionchanged:: 3.1
Added the ability to use :meth:`assertRaises` as a context manager.
More information about the Python-checkins
mailing list