blob: 835e6c67b07766e6e20ebf9f46a2075e678c8713 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
"""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)
|