          """This is the specific method that should handle the exclusion"""
          inspector = EndpointEnumerator(self.patterns)
  
          # Not pretty. Mimics internals of EndpointEnumerator to put should_include_endpoint under test
          pairs = [(inspector.get_path_from_regex(get_regex_pattern(pattern)), pattern.callback)
                   for pattern in self.patterns]
  
          should_include = [
              inspector.should_include_endpoint(*pair) for pair in pairs
          ]
 
</s> remove             regex = get_regex_pattern(urlpattern)
 </s> add             regex = urlpattern.pattern.regex.pattern </s> remove             if is_route_pattern(urlpattern):
 </s> add             if isinstance(urlpattern.pattern, RoutePattern): </s> remove             path_regex = prefix + get_original_route(pattern)
 </s> add             path_regex = prefix + str(pattern.pattern) </s> remove             if is_route_pattern(urlpattern):
 </s> add             if isinstance(urlpattern.pattern, RoutePattern): </s> remove from rest_framework.compat import make_url_resolver
 </s> add 
        pairs = [(inspector.get_path_from_regex(pattern.pattern.regex.pattern), pattern.callback)
          """This is the specific method that should handle the exclusion"""
          inspector = EndpointEnumerator(self.patterns)
  
          # Not pretty. Mimics internals of EndpointEnumerator to put should_include_endpoint under test
        pairs = [(inspector.get_path_from_regex(pattern.pattern.regex.pattern), pattern.callback)
                   for pattern in self.patterns]
  
          should_include = [
              inspector.should_include_endpoint(*pair) for pair in pairs
          ]
keep keep keep keep replace keep keep keep keep keep
 Drop all compat support to Django < 2 urls (#7337) 
tests/schemas/test_coreapi.py