diff options
| author | Tim Graham <timograham@gmail.com> | 2017-11-14 19:05:20 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-11-14 19:09:36 -0500 |
| commit | 022aebc55049075e0852dc7b0ce01ea085fe5dcb (patch) | |
| tree | b45a378613a55fdeb0f735dc45b667275786c7ae /tests | |
| parent | 5638b77627a6b733fae5ab0dbf1b5c3425461d56 (diff) | |
[2.0.x] Fixed invalid escape sequence warning in check_framework test.
Backport of 532a4f22ad94db320cb0fd66f4c7ee57d17ac65a from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/check_framework/urls/path_compatibility/contains_re_named_group.py | 2 |
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), ] |
