summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-11-14 19:05:20 -0500
committerTim Graham <timograham@gmail.com>2017-11-14 19:05:20 -0500
commit532a4f22ad94db320cb0fd66f4c7ee57d17ac65a (patch)
tree949c0691877a0cc8176806eeb4a2079f1d65ee64 /tests
parent967450a3bf940c43db891fe1e2ef3bcf73456ff8 (diff)
downloaddjango-532a4f22ad94db320cb0fd66f4c7ee57d17ac65a.tar.gz
Fixed invalid escape sequence warning in check_framework test.
Diffstat (limited to 'tests')
-rw-r--r--tests/check_framework/urls/path_compatibility/contains_re_named_group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check_framework/urls/path_compatibility/contains_re_named_group.py b/tests/check_framework/urls/path_compatibility/contains_re_named_group.py
index 76c4939f3f..a99c79354e 100644
--- a/tests/check_framework/urls/path_compatibility/contains_re_named_group.py
+++ b/tests/check_framework/urls/path_compatibility/contains_re_named_group.py
@@ -1,5 +1,5 @@
from django.urls import path
urlpatterns = [
- path('(?P<named-group>\d+)', lambda x: x),
+ path(r'(?P<named-group>\d+)', lambda x: x),
]