[Python-checkins] r56999 - python/trunk/Lib/test/test_support.py
brett.cannon
python-checkins at python.org
Tue Aug 14 05:38:49 CEST 2007
Author: brett.cannon
Date: Tue Aug 14 05:38:47 2007
New Revision: 56999
Modified:
python/trunk/Lib/test/test_support.py
Log:
Fix a minor typo in a docstring.
Modified: python/trunk/Lib/test/test_support.py
==============================================================================
--- python/trunk/Lib/test/test_support.py (original)
+++ python/trunk/Lib/test/test_support.py Tue Aug 14 05:38:47 2007
@@ -302,7 +302,7 @@
Use like this:
- with catch_warning as w:
+ with catch_warning() as w:
warnings.warn("foo")
assert str(w.message) == "foo"
"""
More information about the Python-checkins
mailing list