summaryrefslogtreecommitdiff
path: root/tests/expressions
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expressions')
-rw-r--r--tests/expressions/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index 033a5e8912..e46fdab8e3 100644
--- a/tests/expressions/tests.py
+++ b/tests/expressions/tests.py
@@ -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