test_codecmaps_hk is also expected to be skipped when a mapping file

isn't available. (Spotted by Raymond Hettinger)
This commit is contained in:
Hye-Shik Chang 2004-07-19 06:39:37 +00:00
parent 76aa2eff4e
commit 5ef601854e
1 changed files with 2 additions and 1 deletions

View File

@ -988,6 +988,7 @@ class _ExpectedSkips:
from test import test_timeout from test import test_timeout
from test import test_codecmaps_cn, test_codecmaps_jp from test import test_codecmaps_cn, test_codecmaps_jp
from test import test_codecmaps_kr, test_codecmaps_tw from test import test_codecmaps_kr, test_codecmaps_tw
from test import test_codecmaps_hk
self.valid = False self.valid = False
if sys.platform in _expectations: if sys.platform in _expectations:
@ -1006,7 +1007,7 @@ class _ExpectedSkips:
if test_timeout.skip_expected: if test_timeout.skip_expected:
self.expected.add('test_timeout') 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: if eval('test_codecmaps_' + cc).skip_expected:
self.expected.add('test_codecmaps_' + cc) self.expected.add('test_codecmaps_' + cc)