@@ -27,7 +27,7 @@ def test_peal_speed_parsing(self):
2727 (" 2 h 30 m " , 150 ),
2828 ]
2929
30- for ( input_arg , expected_minutes ) in test_cases :
30+ for input_arg , expected_minutes in test_cases :
3131 with self .subTest (input = input_arg , expected_minutes = expected_minutes ):
3232 self .assertEqual (expected_minutes , parse_peal_speed (input_arg ))
3333
@@ -47,7 +47,7 @@ def test_peal_speed_parsing_errors(self):
4747 ("\n XX X " , "The minute value 'XX X' is not an integer." ),
4848 ]
4949
50- for ( input_arg , expected_message ) in test_cases :
50+ for input_arg , expected_message in test_cases :
5151 with self .subTest (input = input_arg , expected_message = expected_message ):
5252 with self .assertRaises (PealSpeedParseError ) as e :
5353 parse_peal_speed (input_arg )
@@ -62,7 +62,7 @@ def test_call_parsing(self):
6262 ("20: 70/ 14" , {20 : "70" , 0 : "14" }),
6363 ]
6464
65- for ( input_arg , expected_call_dict ) in test_cases :
65+ for input_arg , expected_call_dict in test_cases :
6666 with self .subTest (input = input_arg , expected_call_dict = expected_call_dict ):
6767 self .assertEqual (CallDef (expected_call_dict ), parse_call (input_arg ))
6868
@@ -75,7 +75,7 @@ def test_call_parsing_errors(self):
7575 ("::: /" , "Call specification ':::' should contain at most one ':'." ),
7676 ]
7777
78- for ( input_arg , expected_message ) in test_cases :
78+ for input_arg , expected_message in test_cases :
7979 with self .subTest (input = input_arg , expected_message = expected_message ):
8080 with self .assertRaises (CallParseError ) as e :
8181 parse_call (input_arg )
@@ -84,7 +84,7 @@ def test_call_parsing_errors(self):
8484 def test_place_notation_parsing (self ):
8585 test_cases = [("5:5.1.5.1.5" , (5 , "5.1.5.1.5" )), ("6:x16,12" , (6 , "x16,12" ))]
8686
87- for ( input_arg , expected_tuple ) in test_cases :
87+ for input_arg , expected_tuple in test_cases :
8888 with self .subTest (input = input_arg , expected_tuple = expected_tuple ):
8989 self .assertEqual (expected_tuple , parse_place_notation (input_arg ))
9090
@@ -95,7 +95,7 @@ def test_place_notation_parsing_errors(self):
9595 ("6:z16x16x16,12" , "Place notation is invalid" ),
9696 ]
9797
98- for ( input_arg , expected_message ) in test_cases :
98+ for input_arg , expected_message in test_cases :
9999 with self .subTest (input = input_arg , expected_message = expected_message ):
100100 with self .assertRaises (PlaceNotationError ) as e :
101101 parse_place_notation (input_arg )
@@ -196,7 +196,7 @@ def test_url_conversion_errors(self):
196196 def test_parse_start_row (self ):
197197 test_cases = [("654321" , 6 ), ("1" , 1 )]
198198
199- for ( input_arg , expected_output ) in test_cases :
199+ for input_arg , expected_output in test_cases :
200200 with self .subTest (input = input_arg , expected_output = expected_output ):
201201 output = parse_start_row (input_arg )
202202 self .assertEqual (output , expected_output )
@@ -209,7 +209,7 @@ def test_parse_start_row_errors(self):
209209 ("654326" , "Start row contains bell 6 mutiple times" ),
210210 ]
211211
212- for ( input_arg , expected_message ) in test_cases :
212+ for input_arg , expected_message in test_cases :
213213 with self .subTest (input = input_arg , expected_message = expected_message ):
214214 with self .assertRaises (StartRowParseError ) as e :
215215 parse_start_row (input_arg )
0 commit comments