We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19dc865 commit 12b6c64Copy full SHA for 12b6c64
Lib/test/test_string_literals.py
@@ -177,7 +177,7 @@ def test_eval_str_invalid_octal_escape(self):
177
def test_invalid_escape_locations_with_offset(self):
178
with warnings.catch_warnings(record=True) as w:
179
warnings.simplefilter('always', category=SyntaxWarning)
180
- eval("\"'''''''''''''''''''''invalid\ Escape\"")
+ eval("\"'''''''''''''''''''''invalid\\ Escape\"")
181
self.assertEqual(len(w), 1)
182
self.assertEqual(str(w[0].message),
183
r'"\ " is an invalid escape sequence. Such sequences '
0 commit comments