          raise Http404
  
  
  urlpatterns = (
      url(r'^$', NonAtomicAPIExceptionView.as_view()),
  )
  
  
  @unittest.skipUnless(
      connection.features.uses_savepoints,
 
</s> remove     url(r'^$', example),
    url(r'^permission_denied$', permission_denied),
    url(r'^not_found$', not_found),
 </s> add     path('', example),
    path('permission_denied', permission_denied),
    path('not_found', not_found), </s> remove from django.urls import path
 </s> add from django.urls import include, path </s> remove     url(r'^$', FooView.as_view())
 </s> add     path('', FooView.as_view()) </s> remove     url(r'^$', MockView.as_view()),
 </s> add     path('', MockView.as_view()),
    path('', NonAtomicAPIExceptionView.as_view()),
          raise Http404
  
  
  urlpatterns = (
    path('', NonAtomicAPIExceptionView.as_view()),
  )
  
  
  @unittest.skipUnless(
      connection.features.uses_savepoints,
keep keep keep keep replace keep keep keep keep keep
 Replace all url() calls with path() or re_path() (#7512)

* url() is deprecated in Django 3.1

* update given feedbacks on url() is deprecated in Django 3.1

* Fix test_urlpatterns.py to continue testing mixed re_path() and path()

* Fix one missed reference

Co-authored-by: sanjusci <sanju.sci9@gmail.com> 
tests/test_atomic_requests.py