]> granicus.if.org Git - python/commitdiff
Document that CatchWarningTests is reused by test_structmembers.py.
authorWalter Dörwald <walter@livinglogic.de>
Tue, 3 Apr 2007 16:16:24 +0000 (16:16 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 3 Apr 2007 16:16:24 +0000 (16:16 +0000)
Lib/test/test_warnings.py

index 0ad83edb19bf151e11827635fc063cb94e96f234..671ed02a6129ce828d2d135701f96b3cdb6d78fd 100644 (file)
@@ -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