def testIDNTLDULabels(self): for (ulabel, alabel) in self.tld_strings: self.assertEqual(ulabel, idna.ulabel(alabel))