@@ -109,7 +109,7 @@ def test_quiet(self):
109
109
self .assertEqual (ns .verbose , 0 )
110
110
111
111
def test_slow (self ):
112
- for opt in '-o' , '--slow ' :
112
+ for opt in '-o' , '--slowest ' :
113
113
with self .subTest (opt = opt ):
114
114
ns = libregrtest ._parse_args ([opt ])
115
115
self .assertTrue (ns .print_slow )
@@ -661,25 +661,25 @@ def test_interrupted(self):
661
661
self .check_executed_tests (output , test , omitted = test )
662
662
663
663
def test_slow (self ):
664
- # test --slow
664
+ # test --slowest
665
665
tests = [self .create_test () for index in range (3 )]
666
- output = self .run_tests ("--slow " , * tests )
666
+ output = self .run_tests ("--slowest " , * tests )
667
667
self .check_executed_tests (output , tests )
668
668
regex = ('10 slowest tests:\n '
669
669
'(?:%s: [0-9]+\.[0-9]+s\n ){%s}'
670
670
% (self .TESTNAME_REGEX , len (tests )))
671
671
self .check_line (output , regex )
672
672
673
673
def test_slow_interrupted (self ):
674
- # Issue #25373: test --slow with an interrupted test
674
+ # Issue #25373: test --slowest with an interrupted test
675
675
code = TEST_INTERRUPTED
676
676
test = self .create_test ("sigint" , code = code )
677
677
678
678
for multiprocessing in (False , True ):
679
679
if multiprocessing :
680
- args = ("--slow " , "-j2" , test )
680
+ args = ("--slowest " , "-j2" , test )
681
681
else :
682
- args = ("--slow " , test )
682
+ args = ("--slowest " , test )
683
683
output = self .run_tests (* args , exitcode = 1 )
684
684
self .check_executed_tests (output , test , omitted = test )
685
685
regex = ('10 slowest tests:\n ' )
0 commit comments