commit | 749ed85e4446f548e22934931241f644a33d81ce | [log] [tgz] |
---|---|---|
author | han-solo <hanish0019@gmail.com> | Wed Sep 02 04:56:37 2020 -0400 |
committer | GitHub <noreply@github.com> | Wed Sep 02 04:56:37 2020 -0400 |
tree | 9bc4bff19f5a1d86fa865286964a120be5a9db77 | |
parent | 5b24d1592a990ad7cf81cd1498d255bad41a0b14 [diff] [blame] |
Fixed mistake in test for f-string error description (GH-22036) (GH-22059)
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index b9bede0..b53661a 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py
@@ -1217,7 +1217,7 @@ def test_with_an_underscore_and_a_comma_in_format_specifier(self): error_msg = re.escape("Cannot specify both ',' and '_'.") with self.assertRaisesRegex(ValueError, error_msg): - f'{1:,_}' + f'{1:_,}' if __name__ == '__main__': unittest.main()