File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ def test_with_a_commas_and_an_underscore_in_format_specifier(self):
514
514
def test_with_an_underscore_and_a_comma_in_format_specifier (self ):
515
515
error_msg = re .escape ("Cannot specify both ',' and '_'." )
516
516
with self .assertRaisesRegex (ValueError , error_msg ):
517
- '{:,_ }' .format (1 )
517
+ '{:_, }' .format (1 )
518
518
519
519
if __name__ == "__main__" :
520
520
unittest .main ()
Original file line number Diff line number Diff line change @@ -1227,7 +1227,7 @@ def test_with_a_commas_and_an_underscore_in_format_specifier(self):
1227
1227
def test_with_an_underscore_and_a_comma_in_format_specifier (self ):
1228
1228
error_msg = re .escape ("Cannot specify both ',' and '_'." )
1229
1229
with self .assertRaisesRegex (ValueError , error_msg ):
1230
- f'{ 1 :,_ } '
1230
+ f'{ 1 :_, } '
1231
1231
1232
1232
if __name__ == '__main__' :
1233
1233
unittest .main ()
You can’t perform that action at this time.
0 commit comments