'URLField correctly validates IPv6 (#18779).'

def test_urlfield_10(self):

    f = URLField()
    urls = ('http://[12:34::3a53]/', 'http://[a34:9238::]:8080/')
    for url in urls:
        with self.subTest(url=url):
            self.assertEqual(url, f.clean(url))
