'Test URLField correctly validates IPv6 (#18779).'

def test_urlfield_10(self):

    f = URLField()
    urls = (u'http://::/', u'http://6:21b4:92/', u'http://[12:34:3a53]/', u'http://[a34:9238::]:8080/')
    for url in urls:
        self.assertEqual(url, f.clean(url))
