mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #25220: Fix "-m test --forever"
* Fix "-m test --forever": replace _test_forever() with self._test_forever() * Add unit test for --forever * Add unit test for a failing test * Fix also some pyflakes warnings in libregrtest
This commit is contained in:
parent
38031143fb
commit
9a14214aee
4 changed files with 99 additions and 43 deletions
|
@ -319,7 +319,7 @@ class Regrtest:
|
|||
|
||||
def run_tests(self):
|
||||
if self.ns.forever:
|
||||
self.tests = _test_forever(list(self.selected))
|
||||
self.tests = self._test_forever(list(self.selected))
|
||||
self.test_count = ''
|
||||
self.test_count_width = 3
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue