summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecmaps_hk.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecmaps_hk.py')
-rw-r--r--Lib/test/test_codecmaps_hk.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_codecmaps_hk.py b/Lib/test/test_codecmaps_hk.py
index 362ab7f..bbe1f2f 100644
--- a/Lib/test/test_codecmaps_hk.py
+++ b/Lib/test/test_codecmaps_hk.py
@@ -1,10 +1,10 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# test_codecmaps_hk.py
# Codec mapping tests for HongKong encodings
#
-from test import test_support
+from test import support
from test import test_multibytecodec_support
import unittest
@@ -14,8 +14,8 @@ class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping,
mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT'
def test_main():
- test_support.run_unittest(__name__)
+ support.run_unittest(__name__)
if __name__ == "__main__":
- test_support.use_resources = ['urlfetch']
+ support.use_resources = ['urlfetch']
test_main()