| # Codec mapping tests for PRC encodings |
| from test import test_support |
| from test import test_multibytecodec_support |
| class TestGB2312Map(test_multibytecodec_support.TestBase_Mapping, |
| mapfileurl = 'http://people.freebsd.org/~perky/i18n/EUC-CN.TXT' |
| class TestGBKMap(test_multibytecodec_support.TestBase_Mapping, |
| mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/' \ |
| 'MICSFT/WINDOWS/CP936.TXT' |
| class TestGB18030Map(test_multibytecodec_support.TestBase_Mapping, |
| mapfileurl = 'http://source.icu-project.org/repos/icu/data/' \ |
| 'trunk/charset/data/xml/gb-18030-2000.xml' |
| test_support.run_unittest(__name__) |
| if __name__ == "__main__": |