@@ -167,19 +167,13 @@ def test_testdir(self):
167167 self .assertEqual (ns .testdir , os .path .join (support .SAVEDCWD , 'foo' ))
168168 self .checkError (['--testdir' ], 'expected one argument' )
169169
170- def test_findleaks (self ):
171- for opt in '-l' , '--findleaks' :
172- with self .subTest (opt = opt ):
173- ns = regrtest ._parse_args ([opt ])
174- self .assertTrue (ns .findleaks )
175-
176- def test_findleaks (self ):
170+ def test_runleaks (self ):
177171 for opt in '-L' , '--runleaks' :
178172 with self .subTest (opt = opt ):
179173 ns = regrtest ._parse_args ([opt ])
180174 self .assertTrue (ns .runleaks )
181175
182- def test_findleaks (self ):
176+ def test_huntrleaks (self ):
183177 for opt in '-R' , '--huntrleaks' :
184178 with self .subTest (opt = opt ):
185179 ns = regrtest ._parse_args ([opt , ':' ])
@@ -207,7 +201,7 @@ def test_multiprocess(self):
207201 self .checkError ([opt , '2' , '-l' ], "don't go together" )
208202 self .checkError ([opt , '2' , '-M' , '4G' ], "don't go together" )
209203
210- def test_findleaks (self ):
204+ def test_coverage (self ):
211205 for opt in '-T' , '--coverage' :
212206 with self .subTest (opt = opt ):
213207 ns = regrtest ._parse_args ([opt ])
0 commit comments