summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-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 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