mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
[3.12] Fix SyntaxWarning in test_syntax.py (GH-112944) (GH-112955)
(cherry picked from commit 97cd45bfdb
)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
This commit is contained in:
parent
78a5010a4e
commit
f3933d4b98
1 changed files with 1 additions and 1 deletions
|
@ -2298,7 +2298,7 @@ func(
|
|||
|
||||
# Examples with dencodings
|
||||
s = b'# coding=latin\n(aaaaaaaaaaaaaaaaa\naaaaaaaaaaa\xb5'
|
||||
self._check_error(s, "'\(' was never closed")
|
||||
self._check_error(s, r"'\(' was never closed")
|
||||
|
||||
def test_error_string_literal(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue