From: Walter Dörwald Date: Tue, 3 Apr 2007 16:16:24 +0000 (+0000) Subject: Document that CatchWarningTests is reused by test_structmembers.py. X-Git-Tag: v2.6a1~1879 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bd65000d78cd75a00c073ab9147e3d53ba02a2d;p=python Document that CatchWarningTests is reused by test_structmembers.py. --- diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py index 0ad83edb19..671ed02a61 100644 --- a/Lib/test/test_warnings.py +++ b/Lib/test/test_warnings.py @@ -21,6 +21,8 @@ def showwarning(message, category, filename, lineno, file=None): msg.lineno = lineno class CatchWarningTest(unittest.TestCase): + # base class used for catching warnings issued by the + # warning framework (this is reused by test_structmembers.py) def setUp(self): global msg