summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-08-14 03:38:47 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-08-14 03:38:47 (GMT)
commit7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59 (patch)
tree84ec0d418cbe534479fdb48a213f75104e7b84e8 /Lib/test/test_support.py
parent91a57216c95b84aa883816fcfacfdd6b91827113 (diff)
downloadcpython-7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59.zip
cpython-7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59.tar.gz
cpython-7b97e8a9c2b6b5fc2aab900ac8c568a89df93e59.tar.bz2
Fix a minor typo in a docstring.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 1 insertions, 1 deletions
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"
"""