@@ -40,8 +40,8 @@ class TestWarningMessageCategoryTypeInterface(TestCase, TestMatchersInterface):
4040 matches_matches : ClassVar = [warning_foo ]
4141 matches_mismatches : ClassVar = [warning_bar , warning_base ]
4242
43- str_examples : ClassVar = []
44- describe_examples : ClassVar = []
43+ str_examples : ClassVar [ list ] = []
44+ describe_examples : ClassVar [ list ] = []
4545
4646
4747class TestWarningMessageMessageInterface (TestCase , TestMatchersInterface ):
@@ -58,8 +58,8 @@ class TestWarningMessageMessageInterface(TestCase, TestMatchersInterface):
5858 matches_matches : ClassVar = [warning_foo ]
5959 matches_mismatches : ClassVar = [warning_bar ]
6060
61- str_examples : ClassVar = []
62- describe_examples : ClassVar = []
61+ str_examples : ClassVar [ list ] = []
62+ describe_examples : ClassVar [ list ] = []
6363
6464
6565class TestWarningMessageFilenameInterface (TestCase , TestMatchersInterface ):
@@ -76,8 +76,8 @@ class TestWarningMessageFilenameInterface(TestCase, TestMatchersInterface):
7676 matches_matches : ClassVar = [warning_foo ]
7777 matches_mismatches : ClassVar = [warning_bar ]
7878
79- str_examples : ClassVar = []
80- describe_examples : ClassVar = []
79+ str_examples : ClassVar [ list ] = []
80+ describe_examples : ClassVar [ list ] = []
8181
8282
8383class TestWarningMessageLineNumberInterface (TestCase , TestMatchersInterface ):
@@ -94,8 +94,8 @@ class TestWarningMessageLineNumberInterface(TestCase, TestMatchersInterface):
9494 matches_matches : ClassVar = [warning_foo ]
9595 matches_mismatches : ClassVar = [warning_bar ]
9696
97- str_examples : ClassVar = []
98- describe_examples : ClassVar = []
97+ str_examples : ClassVar [ list ] = []
98+ describe_examples : ClassVar [ list ] = []
9999
100100
101101class TestWarningMessageLineInterface (TestCase , TestMatchersInterface ):
@@ -112,8 +112,8 @@ class TestWarningMessageLineInterface(TestCase, TestMatchersInterface):
112112 matches_matches : ClassVar = [warning_foo ]
113113 matches_mismatches : ClassVar = [warning_bar ]
114114
115- str_examples : ClassVar = []
116- describe_examples : ClassVar = []
115+ str_examples : ClassVar [ list ] = []
116+ describe_examples : ClassVar [ list ] = []
117117
118118
119119class TestWarningsInterface (TestCase , TestMatchersInterface ):
@@ -133,9 +133,9 @@ def old_func():
133133
134134 # Tricky to get function objects to render constantly, and the interfaces
135135 # helper uses assertEqual rather than (for instance) DocTestMatches.
136- str_examples : ClassVar = []
136+ str_examples : ClassVar [ list ] = []
137137
138- describe_examples : ClassVar = []
138+ describe_examples : ClassVar [ list ] = []
139139
140140
141141class TestWarningsMatcherInterface (TestCase , TestMatchersInterface ):
@@ -161,8 +161,8 @@ def older_func():
161161 matches_matches : ClassVar = [old_func ]
162162 matches_mismatches : ClassVar = [lambda : None , older_func ]
163163
164- str_examples : ClassVar = []
165- describe_examples : ClassVar = []
164+ str_examples : ClassVar [ list ] = []
165+ describe_examples : ClassVar [ list ] = []
166166
167167
168168class TestWarningsMatcherNoWarningsInterface (TestCase , TestMatchersInterface ):
@@ -185,8 +185,8 @@ def warning_func():
185185 matches_matches : ClassVar = [nowarning_func ]
186186 matches_mismatches : ClassVar = [warning_func ]
187187
188- str_examples : ClassVar = []
189- describe_examples : ClassVar = []
188+ str_examples : ClassVar [ list ] = []
189+ describe_examples : ClassVar [ list ] = []
190190
191191
192192class TestWarningMessage (TestCase ):
0 commit comments