Fix SyntaxWarning in test_syntax.py (GH-112944)

This commit is contained in:
Anthony Sottile 2023-12-11 06:48:52 -05:00 committed by GitHub
parent a135a6d2c6
commit 97cd45bfdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2336,7 +2336,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):