'Test repr of RegexURLResolver, especially when urlconf_name is a list
(#17892).'

def test_resolver_repr(self):

    resolver = get_resolver('urlpatterns_reverse.namespace_urls')
    sub_resolver = resolver.namespace_dict['test-ns1'][1]
    self.assertIn('<RegexURLPattern    list>', repr(sub_resolver))
