mirror of
https://github.com/python/cpython
synced 2024-10-06 14:49:41 +00:00
Fix SyntaxWarning in test_syntax.py (GH-112944)
This commit is contained in:
parent
a135a6d2c6
commit
97cd45bfdb
|
@ -2336,7 +2336,7 @@ def test_error_parenthesis(self):
|
|||
|
||||
# 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…
Reference in a new issue