  import unittest
  
  from django.conf import settings
  from django.contrib.admindocs import utils
  from django.contrib.admindocs.views import get_return_data_type
  from django.contrib.auth.models import User
  from django.contrib.sites.models import Site
  from django.test import TestCase, modify_settings, override_settings
  from django.test.utils import captured_stderr
  from django.urls import reverse
 
</s> remove     Clean up urlpattern regexes into something somewhat readable by Mere Humans:
    turns something like "^(?P<sport_slug>\w+)/athletes/(?P<athlete_slug>\w+)/$"
    into "<sport_slug>/athletes/<athlete_slug>/"
 </s> add     Clean up urlpattern regexes into something more readable by humans. For
    example, turn "^(?P<sport_slug>\w+)/athletes/(?P<athlete_slug>\w+)/$"
    into "/<sport_slug>/athletes/<athlete_slug>/".
from django.contrib.admindocs.views import get_return_data_type, simplify_regex
  import unittest
  
  from django.conf import settings
  from django.contrib.admindocs import utils
from django.contrib.admindocs.views import get_return_data_type, simplify_regex
  from django.contrib.auth.models import User
  from django.contrib.sites.models import Site
  from django.test import TestCase, modify_settings, override_settings
  from django.test.utils import captured_stderr
  from django.urls import reverse
keep keep keep keep replace keep keep keep keep keep
 Refs #26621 -- Added tests for admindocs.views.simplify_regex(). 
tests/admin_docs/tests.py