mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Document that CatchWarningTests is reused by test_structmembers.py.
This commit is contained in:
parent
d815d357b2
commit
8bd65000d7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue