From 8119b679eb85cdc0ae3d321e54d06dd0200a1e82 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 16 Sep 2016 12:15:00 -0400 Subject: Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. http://bugs.python.org/issue27364 --- tests/expressions/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/expressions') 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 -- cgit v1.3