@@ -109,7 +109,7 @@ def test_quiet(self):
109109 self .assertEqual (ns .verbose , 0 )
110110
111111 def test_slow (self ):
112- for opt in '-o' , '--slow ' :
112+ for opt in '-o' , '--slowest ' :
113113 with self .subTest (opt = opt ):
114114 ns = libregrtest ._parse_args ([opt ])
115115 self .assertTrue (ns .print_slow )
@@ -661,25 +661,25 @@ def test_interrupted(self):
661661 self .check_executed_tests (output , test , omitted = test )
662662
663663 def test_slow (self ):
664- # test --slow
664+ # test --slowest
665665 tests = [self .create_test () for index in range (3 )]
666- output = self .run_tests ("--slow " , * tests )
666+ output = self .run_tests ("--slowest " , * tests )
667667 self .check_executed_tests (output , tests )
668668 regex = ('10 slowest tests:\n '
669669 '(?:%s: [0-9]+\.[0-9]+s\n ){%s}'
670670 % (self .TESTNAME_REGEX , len (tests )))
671671 self .check_line (output , regex )
672672
673673 def test_slow_interrupted (self ):
674- # Issue #25373: test --slow with an interrupted test
674+ # Issue #25373: test --slowest with an interrupted test
675675 code = TEST_INTERRUPTED
676676 test = self .create_test ("sigint" , code = code )
677677
678678 for multiprocessing in (False , True ):
679679 if multiprocessing :
680- args = ("--slow " , "-j2" , test )
680+ args = ("--slowest " , "-j2" , test )
681681 else :
682- args = ("--slow " , test )
682+ args = ("--slowest " , test )
683683 output = self .run_tests (* args , exitcode = 1 )
684684 self .check_executed_tests (output , test , omitted = test )
685685 regex = ('10 slowest tests:\n ' )
0 commit comments