PyXR

c:\python24\lib \ test \ test_codecmaps_hk.py



0001 #!/usr/bin/env python
0002 #
0003 # test_codecmaps_hk.py
0004 #   Codec mapping tests for HongKong encodings
0005 #
0006 # $CJKCodecs: test_codecmaps_hk.py,v 1.1 2004/07/10 17:35:20 perky Exp $
0007 
0008 from test import test_support
0009 from test import test_multibytecodec_support
0010 import unittest
0011 
0012 class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping,
0013                        unittest.TestCase):
0014     encoding = 'big5hkscs'
0015     mapfilename = 'BIG5HKSCS.TXT'
0016     mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS.TXT'
0017 
0018 def test_main():
0019     suite = unittest.TestSuite()
0020     suite.addTest(unittest.makeSuite(TestBig5HKSCSMap))
0021     test_support.run_suite(suite)
0022 
0023 test_multibytecodec_support.register_skip_expected(TestBig5HKSCSMap)
0024 if __name__ == "__main__":
0025     test_main()
0026 

Generated by PyXR 0.9.4
SourceForge.net Logo