summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_if_equal.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-16 12:15:00 -0400
committerTim Graham <timograham@gmail.com>2016-09-17 15:44:06 -0400
commit8119b679eb85cdc0ae3d321e54d06dd0200a1e82 (patch)
treeb4f4e40a371569a260a39ca310e8e984d8582d74 /tests/template_tests/syntax_tests/test_if_equal.py
parent17677d510f65012531a5af57fd056fb15cfe1067 (diff)
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
Diffstat (limited to 'tests/template_tests/syntax_tests/test_if_equal.py')
-rw-r--r--tests/template_tests/syntax_tests/test_if_equal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_if_equal.py b/tests/template_tests/syntax_tests/test_if_equal.py
index db02b090c0..6124608b08 100644
--- a/tests/template_tests/syntax_tests/test_if_equal.py
+++ b/tests/template_tests/syntax_tests/test_if_equal.py
@@ -98,7 +98,7 @@ class IfEqualTagTests(SimpleTestCase):
@setup({'ifequal-split09': r"{% ifequal a 'slash\man' %}yes{% else %}no{% endifequal %}"})
def test_ifequal_split09(self):
- output = self.engine.render_to_string('ifequal-split09', {'a': 'slash\man'})
+ output = self.engine.render_to_string('ifequal-split09', {'a': r'slash\man'})
self.assertEqual(output, 'yes')
@setup({'ifequal-split10': r"{% ifequal a 'slash\man' %}yes{% else %}no{% endifequal %}"})