From e34cce79ff667876bf55ea41395f15f0d2534a40 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 2 Apr 2017 17:17:33 -0400 Subject: [PATCH] [1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6. Backport of d4d79d0f200357b28419203557cc61c8168316ab from master --- tests/auth_tests/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auth_tests/urls.py b/tests/auth_tests/urls.py index 3c85b52564..343316e1a4 100644 --- a/tests/auth_tests/urls.py +++ b/tests/auth_tests/urls.py @@ -62,7 +62,7 @@ def userpage(request): pass -uid_token = '(?P[0-9A-Za-z_\-]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})' +uid_token = r'(?P[0-9A-Za-z_\-]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})' # special urls for auth test cases urlpatterns = auth_urlpatterns + [