[Python-checkins] r78109 - python/trunk/Lib/unittest/case.py

ezio.melotti python-checkins at python.org
Mon Feb 8 22:52:09 CET 2010


Author: ezio.melotti
Date: Mon Feb 8 22:52:08 2010
New Revision: 78109
Log:
Fix exc_value -> exception in docstring
Modified:
 python/trunk/Lib/unittest/case.py
Modified: python/trunk/Lib/unittest/case.py
==============================================================================
--- python/trunk/Lib/unittest/case.py	(original)
+++ python/trunk/Lib/unittest/case.py	Mon Feb 8 22:52:08 2010
@@ -384,7 +384,7 @@
 do_something()
 
 The context manager keeps a reference to the exception as
- the exc_value attribute. This allows you to inspect the
+ the 'exception' attribute. This allows you to inspect the
 exception after the assertion::
 
 with self.assertRaises(SomeException) as cm:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /