summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fstring.py
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2021-01-20 21:38:47 (GMT)
committerGitHub <noreply@github.com>2021-01-20 21:38:47 (GMT)
commita698d52c3975c80b45b139b2f08402ec514dce75 (patch)
tree25a4577b9617d80cb43ffcfe27a54435f42c6b0d /Lib/test/test_fstring.py
parentc3f167d7b243f8b8e1b797586e6cef35add013bc (diff)
downloadcpython-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.py2
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}'",
])