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 ef06508 commit 22cee3cCopy full SHA for 22cee3c
Lib/test/test_string_literals.py
@@ -188,7 +188,7 @@ def test_invalid_escape_locations_with_offset(self):
188
189
with warnings.catch_warnings(record=True) as w:
190
warnings.simplefilter('always', category=SyntaxWarning)
191
- eval("\"''Incorrect \ logic?\"")
+ eval("\"''Incorrect \\ logic?\"")
192
self.assertEqual(len(w), 1)
193
self.assertEqual(str(w[0].message),
194
r'"\ " is an invalid escape sequence. Such sequences '
0 commit comments