summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-04-03 16:16:24 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-04-03 16:16:24 (GMT)
commit8bd65000d78cd75a00c073ab9147e3d53ba02a2d (patch)
tree24c6c63f80aa94ca345a6a3af3fb90b0a2ab2573
parentd815d357b28a019faa515a56fd927b15cdb580cf (diff)
downloadcpython-8bd65000d78cd75a00c073ab9147e3d53ba02a2d.zip
cpython-8bd65000d78cd75a00c073ab9147e3d53ba02a2d.tar.gz
cpython-8bd65000d78cd75a00c073ab9147e3d53ba02a2d.tar.bz2
Document that CatchWarningTests is reused by test_structmembers.py.
-rw-r--r--Lib/test/test_warnings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py
index 0ad83ed..671ed02 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