Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
gsutil
/
third_party
/
idna
/
tests
/
Filename :
test_idna_other.py
back
Copy
"""Tests for other functions""" import unittest import idna class OtherUTS46Tests(unittest.TestCase): def test_std3(self): self.assertEqual(idna.uts46_remap("A_", std3_rules=False), "a_") self.assertRaises(idna.InvalidCodepoint, idna.uts46_remap, "A_", std3_rules=True)