mirror of
https://github.com/python/cpython.git
synced 2026-05-28 15:16:53 -04:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user