summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-07-19 06:39:37 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2004-07-19 06:39:37 (GMT)
commit5ef601854efbf467c45e2fe2b087833c1916ab54 (patch)
treef4c3a67ca9c020046adba09db13ed457b2faf222 /Lib/test/regrtest.py
parent76aa2eff4e7b800a9d44bb95ca6b7c04a88144ac (diff)
downloadcpython-5ef601854efbf467c45e2fe2b087833c1916ab54.zip
cpython-5ef601854efbf467c45e2fe2b087833c1916ab54.tar.gz
cpython-5ef601854efbf467c45e2fe2b087833c1916ab54.tar.bz2
test_codecmaps_hk is also expected to be skipped when a mapping file
isn't available. (Spotted by Raymond Hettinger)
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index d461589..842dff7 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -988,6 +988,7 @@ class _ExpectedSkips:
from test import test_timeout
from test import test_codecmaps_cn, test_codecmaps_jp
from test import test_codecmaps_kr, test_codecmaps_tw
+ from test import test_codecmaps_hk
self.valid = False
if sys.platform in _expectations:
@@ -1006,7 +1007,7 @@ class _ExpectedSkips:
if test_timeout.skip_expected:
self.expected.add('test_timeout')
- for cc in ('cn', 'jp', 'kr', 'tw'):
+ for cc in ('cn', 'jp', 'kr', 'tw', 'hk'):
if eval('test_codecmaps_' + cc).skip_expected:
self.expected.add('test_codecmaps_' + cc)