2004-07-18 00:06:29 -03:00
|
|
|
#
|
|
|
|
# test_codecmaps_hk.py
|
|
|
|
# Codec mapping tests for HongKong encodings
|
|
|
|
#
|
|
|
|
|
|
|
|
from test import test_support
|
|
|
|
from test import test_multibytecodec_support
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping,
|
|
|
|
unittest.TestCase):
|
|
|
|
encoding = 'big5hkscs'
|
2008-02-08 13:10:20 -04:00
|
|
|
mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT'
|
2004-07-18 00:06:29 -03:00
|
|
|
|
|
|
|
def test_main():
|
2007-04-25 14:29:52 -03:00
|
|
|
test_support.run_unittest(__name__)
|
2004-07-18 00:06:29 -03:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2008-02-08 13:10:20 -04:00
|
|
|
test_support.use_resources = ['urlfetch']
|
2004-07-18 00:06:29 -03:00
|
|
|
test_main()
|