From d4d79d0f200357b28419203557cc61c8168316ab Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 2 Apr 2017 17:17:33 -0400 Subject: [PATCH] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6. --- 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 19538a5912..cd21e6f69d 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 + [