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/admin_widgets/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/admin_widgets') diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index baf4b8adc6..057771bfa4 100644 --- a/tests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py @@ -419,7 +419,7 @@ class AdminFileWidgetTests(TestDataMixin, TestCase): self.assertHTMLEqual( w.render('test', self.album.cover_art), '

Currently: albums\hybrid_theory.jpg ' + r'hybrid_theory.jpg">albums\hybrid_theory.jpg ' '' ' ' '
' @@ -441,7 +441,7 @@ class AdminFileWidgetTests(TestDataMixin, TestCase): self.assertContains( response, '

' - 'albums\hybrid_theory.jpg

' % {'STORAGE_URL': default_storage.url('')}, + r'albums\hybrid_theory.jpg

' % {'STORAGE_URL': default_storage.url('')}, html=True, ) self.assertNotContains( -- cgit v1.3