diff options
author | Batuhan Taskaya <isidentical@gmail.com> | 2021-01-20 21:38:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 21:38:47 (GMT) |
commit | a698d52c3975c80b45b139b2f08402ec514dce75 (patch) | |
tree | 25a4577b9617d80cb43ffcfe27a54435f42c6b0d /Lib/test/test_fstring.py | |
parent | c3f167d7b243f8b8e1b797586e6cef35add013bc (diff) | |
download | cpython-a698d52c3975c80b45b139b2f08402ec514dce75.zip cpython-a698d52c3975c80b45b139b2f08402ec514dce75.tar.gz cpython-a698d52c3975c80b45b139b2f08402ec514dce75.tar.bz2 |
bpo-40176: Improve error messages for unclosed string literals (GH-19346)
Automerge-Triggered-By: GH:isidentical
Diffstat (limited to 'Lib/test/test_fstring.py')
-rw-r--r-- | Lib/test/test_fstring.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ x = ( ["f'{3)+(4}'", ]) - self.assertAllRaise(SyntaxError, 'EOL while scanning string literal', + self.assertAllRaise(SyntaxError, 'unterminated string literal', ["f'{\n}'", ]) |