1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.

http://bugs.python.org/issue27364
This commit is contained in:
Tim Graham
2016-09-16 12:15:00 -04:00
parent 17677d510f
commit 8119b679eb
42 changed files with 82 additions and 82 deletions

View File

@@ -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