mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
This commit is contained in:
@@ -552,7 +552,7 @@ class ExpressionsTests(TestCase):
|
||||
self.assertEqual(c_qs.get(), c)
|
||||
|
||||
def test_patterns_escape(self):
|
||||
"""
|
||||
r"""
|
||||
Test that special characters (e.g. %, _ and \) stored in database are
|
||||
properly escaped when using a pattern lookup with an expression
|
||||
refs #16731
|
||||
@@ -584,7 +584,7 @@ class ExpressionsTests(TestCase):
|
||||
ordered=False)
|
||||
|
||||
def test_insensitive_patterns_escape(self):
|
||||
"""
|
||||
r"""
|
||||
Test that special characters (e.g. %, _ and \) stored in database are
|
||||
properly escaped when using a case insensitive pattern lookup with an
|
||||
expression -- refs #16731
|
||||
|
||||
Reference in New Issue
Block a user