commit | a698d52c3975c80b45b139b2f08402ec514dce75 | [log] [tgz] |
---|---|---|
author | Batuhan Taskaya <isidentical@gmail.com> | Thu Jan 21 00:38:47 2021 +0300 |
committer | GitHub <noreply@github.com> | Wed Jan 20 13:38:47 2021 -0800 |
tree | 25a4577b9617d80cb43ffcfe27a54435f42c6b0d | |
parent | c3f167d7b243f8b8e1b797586e6cef35add013bc [diff] [blame] |
bpo-40176: Improve error messages for unclosed string literals (GH-19346) Automerge-Triggered-By: GH:isidentical
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 2345832..7ca1512 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py
@@ -661,7 +661,7 @@ def test_parens_in_expressions(self): ["f'{3)+(4}'", ]) - self.assertAllRaise(SyntaxError, 'EOL while scanning string literal', + self.assertAllRaise(SyntaxError, 'unterminated string literal', ["f'{\n}'", ])