From e75d1694967a84b8acd864b8e6e8918a68d8d50a Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Wed, 29 Jul 2020 09:35:50 +0600 Subject: [PATCH] re_path --- tests/test_urlpatterns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_urlpatterns.py b/tests/test_urlpatterns.py index 8157522aa..5b8744e2c 100644 --- a/tests/test_urlpatterns.py +++ b/tests/test_urlpatterns.py @@ -175,7 +175,7 @@ class FormatSuffixTests(TestCase): ] urlpatterns = [ path('purl//', include(nested_patterns), {'foo': 'bar'}), - path('ppath//', include(nested_patterns), {'foo': 'bar'}), + re_path('^purl/(?P[0-9]+)/', include(nested_patterns), {'foo': 'bar'}), ] test_paths = [ # parent url() nesting child path()