diff --git a/tests/test_urlpatterns.py b/tests/test_urlpatterns.py index 5b8744e2c..0de73bde7 100644 --- a/tests/test_urlpatterns.py +++ b/tests/test_urlpatterns.py @@ -174,8 +174,8 @@ class FormatSuffixTests(TestCase): path('url/', dummy_view) ] urlpatterns = [ - path('purl//', include(nested_patterns), {'foo': 'bar'}), re_path('^purl/(?P[0-9]+)/', include(nested_patterns), {'foo': 'bar'}), + path('ppath//', include(nested_patterns), {'foo': 'bar'}), ] test_paths = [ # parent url() nesting child path()