Skip to content

Commit

Permalink
Fix SyntaxWarning in test_syntax.py (pythonGH-112944)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile authored Dec 11, 2023
1 parent a135a6d commit 97cd45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit 97cd45b

Please sign in to comment.