Skip to content

Commit 68f8f1f

Browse files
dylwil3lysnikolaou
andauthored
nit
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
1 parent 824e1ca commit 68f8f1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_tstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def test_syntax_errors(self):
219219
("t'{lambda:1}'", "t-string: lambda expressions are not allowed "
220220
"without parentheses"),
221221
("t'{x:{;}}'", "t-string: expecting a valid expression after '{'"),
222-
("""t'{1:d\n}'""","t-string: newlines are not allowed in format specifiers")
222+
("t'{1:d\n}'", "t-string: newlines are not allowed in format specifiers")
223223
):
224224
with self.subTest(case), self.assertRaisesRegex(SyntaxError, err):
225225
eval(case)

0 commit comments

Comments
 (0)