From: Brett Cannon Date: Tue, 14 Aug 2007 03:38:47 +0000 (+0000) Subject: Fix a minor typo in a docstring. X-Git-Tag: v2.6a1~1513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59;p=thirdparty%2FPython%2Fcpython.git Fix a minor typo in a docstring. --- diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index cdaee922fd40..52f74f54a459 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -302,7 +302,7 @@ def catch_warning(): Use like this: - with catch_warning as w: + with catch_warning() as w: warnings.warn("foo") assert str(w.message) == "foo" """