Skip to content

Commit

Permalink
Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests …
Browse files Browse the repository at this point in the history
…on Python 3.6.
  • Loading branch information
timgraham committed Apr 3, 2017
1 parent 898e623 commit d4d79d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/auth_tests/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 + [
Expand Down

0 comments on commit d4d79d0

Please sign in to comment.