From 7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 14 Aug 2007 03:38:47 +0000 Subject: Fix a minor typo in a docstring. --- Lib/test/test_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index cdaee92..52f74f5 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" """ -- cgit v0.12