summaryrefslogtreecommitdiff
path: root/tests/check_framework/urls/path_compatibility
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /tests/check_framework/urls/path_compatibility
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/check_framework/urls/path_compatibility')
-rw-r--r--tests/check_framework/urls/path_compatibility/beginning_with_caret.py2
-rw-r--r--tests/check_framework/urls/path_compatibility/contains_re_named_group.py2
-rw-r--r--tests/check_framework/urls/path_compatibility/ending_with_dollar.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_framework/urls/path_compatibility/beginning_with_caret.py b/tests/check_framework/urls/path_compatibility/beginning_with_caret.py
index 7e3e9c8707..27c96246b2 100644
--- a/tests/check_framework/urls/path_compatibility/beginning_with_caret.py
+++ b/tests/check_framework/urls/path_compatibility/beginning_with_caret.py
@@ -1,5 +1,5 @@
from django.urls import path
urlpatterns = [
- path('^beginning-with-caret', lambda x: x),
+ path("^beginning-with-caret", lambda x: x),
]
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 bd849509f5..86897a4a48 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(r'(?P<named_group>\d+)', lambda x: x),
+ path(r"(?P<named_group>\d+)", lambda x: x),
]
diff --git a/tests/check_framework/urls/path_compatibility/ending_with_dollar.py b/tests/check_framework/urls/path_compatibility/ending_with_dollar.py
index 0ea82a1ba6..081cc6b008 100644
--- a/tests/check_framework/urls/path_compatibility/ending_with_dollar.py
+++ b/tests/check_framework/urls/path_compatibility/ending_with_dollar.py
@@ -1,5 +1,5 @@
from django.urls import path
urlpatterns = [
- path('ending-with-dollar$', lambda x: x),
+ path("ending-with-dollar$", lambda x: x),
]