mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
This commit is contained in:
parent
17677d510f
commit
8119b679eb
42 changed files with 82 additions and 82 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue