| 1 | # |
| 2 | # test_codecmaps_hk.py |
| 3 | # Codec mapping tests for HongKong encodings |
| 4 | # |
| 5 | |
| 6 | from test import test_support |
| 7 | from test import multibytecodec_support |
| 8 | import unittest |
| 9 | |
| 10 | class TestBig5HKSCSMap(multibytecodec_support.TestBase_Mapping, |
| 11 | unittest.TestCase): |
| 12 | encoding = 'big5hkscs' |
| 13 | mapfileurl = 'http://www.pythontest.net/unicode/BIG5HKSCS-2004.TXT' |
| 14 | |
| 15 | def test_main(): |
| 16 | test_support.run_unittest(__name__) |
| 17 | |
| 18 | if __name__ == "__main__": |
| 19 | test_main() |