summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-04-02 17:17:33 -0400
committerTim Graham <timograham@gmail.com>2017-04-02 20:03:36 -0400
commite34cce79ff667876bf55ea41395f15f0d2534a40 (patch)
tree8d19a8a684cc8b5a0abbe65ad253592334f3b923 /tests/auth_tests
parent233d0b238ee789f79ea2aa8de7913416357774e4 (diff)
[1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6.
Backport of d4d79d0f200357b28419203557cc61c8168316ab from master
Diffstat (limited to 'tests/auth_tests')
-rw-r--r--tests/auth_tests/urls.py2
1 files changed, 1 insertions, 1 deletions
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<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})'
+uid_token = r'(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})'
# special urls for auth test cases
urlpatterns = auth_urlpatterns + [