~ubuntu-branches/ubuntu/trusty/python3.4/trusty-proposed

« back to all changes in this revision

Viewing changes to Lib/test/test_codecmaps_hk.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-11-25 09:44:27 UTC
  • Revision ID: package-import@ubuntu.com-20131125094427-lzxj8ap5w01lmo7f
Tags: upstream-3.4~b1
ImportĀ upstreamĀ versionĀ 3.4~b1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python3
 
2
#
 
3
# test_codecmaps_hk.py
 
4
#   Codec mapping tests for HongKong encodings
 
5
#
 
6
 
 
7
from test import support
 
8
from test import multibytecodec_support
 
9
import unittest
 
10
 
 
11
class TestBig5HKSCSMap(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
    support.run_unittest(__name__)
 
18
 
 
19
if __name__ == "__main__":
 
20
    support.use_resources = ['urlfetch']
 
21
    test_main()