Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_check_initial_combiner(self):
m = u'\u0300'
a = u'\u0061'
self.assertTrue(idna.check_initial_combiner(a))
self.assertTrue(idna.check_initial_combiner(a + m))
self.assertRaises(idna.IDNAError, idna.check_initial_combiner, m + a)
def test_check_initial_combiner(self):
m = u'\u0300'
a = u'\u0061'
self.assertTrue(idna.check_initial_combiner(a))
self.assertTrue(idna.check_initial_combiner(a + m))
self.assertRaises(idna.IDNAError, idna.check_initial_combiner, m + a)
def test_check_initial_combiner(self):
m = u'\u0300'
a = u'\u0061'
self.assertTrue(idna.check_initial_combiner(a))
self.assertTrue(idna.check_initial_combiner(a + m))
self.assertRaises(idna.IDNAError, idna.check_initial_combiner, m + a)