symbian-qemu-0.9.1-12/python-2.6.1/Lib/test/test_codecmaps_hk.py
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     1 #!/usr/bin/env python
       
     2 #
       
     3 # test_codecmaps_hk.py
       
     4 #   Codec mapping tests for HongKong encodings
       
     5 #
       
     6 
       
     7 from test import test_support
       
     8 from test import test_multibytecodec_support
       
     9 import unittest
       
    10 
       
    11 class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping,
       
    12                        unittest.TestCase):
       
    13     encoding = 'big5hkscs'
       
    14     mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT'
       
    15 
       
    16 def test_main():
       
    17     test_support.run_unittest(__name__)
       
    18 
       
    19 if __name__ == "__main__":
       
    20     test_support.use_resources = ['urlfetch']
       
    21     test_main()