diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-01-17 14:29:29 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-01-17 14:29:29 (GMT) |
commit | 3e2a30692085d32ac63f72b35da39158a471fc68 (patch) | |
tree | 4cbe735f61eae87ac56a13ca6bd32113b98bd03d /Lib/test/regrtest.py | |
parent | cd1f7430cb8f48de970021071d7683054c23b10f (diff) | |
download | cpython-3e2a30692085d32ac63f72b35da39158a471fc68.zip cpython-3e2a30692085d32ac63f72b35da39158a471fc68.tar.gz cpython-3e2a30692085d32ac63f72b35da39158a471fc68.tar.bz2 |
Add CJK codecs support as discussed on python-dev. (SF #873597)
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 34213ec..1d4eaec 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -549,6 +549,10 @@ def printlist(x, width=70, indent=4): # test_timeout # Controlled by test_timeout.skip_expected. Requires the network # resource and a socket module. +# test_codecmaps_* +# Whether a skip is expected here depends on whether a large test +# input file has been downloaded. test_codecmaps_*.skip_expected +# controls that. _expectations = { 'win32': @@ -565,7 +569,6 @@ _expectations = { test_curses test_dbm test_dl - test_email_codecs test_fcntl test_fork1 test_gdbm @@ -598,7 +601,6 @@ _expectations = { test_cl test_curses test_dl - test_email_codecs test_gl test_imgfile test_largefile @@ -623,7 +625,6 @@ _expectations = { test_curses test_dbm test_dl - test_email_codecs test_fcntl test_fork1 test_gl @@ -778,7 +779,6 @@ _expectations = { test_cl test_curses test_dl - test_email_codecs test_gdbm test_gl test_imgfile @@ -803,7 +803,6 @@ _expectations = { test_cl test_curses test_dbm - test_email_codecs test_gdbm test_gl test_gzip @@ -850,7 +849,6 @@ _expectations = { test_cl test_curses test_dl - test_email_codecs test_gdbm test_gl test_imgfile @@ -876,7 +874,6 @@ _expectations = { test_cl test_curses test_dbm - test_email_codecs test_gl test_imgfile test_ioctl @@ -901,7 +898,6 @@ _expectations = { test_commands test_curses test_dl - test_email_codecs test_gl test_imgfile test_largefile @@ -925,7 +921,6 @@ _expectations = { test_bsddb3 test_cd test_cl - test_email_codecs test_gl test_imgfile test_linuxaudiodev @@ -955,6 +950,8 @@ class _ExpectedSkips: from test import test_normalization from test import test_socket_ssl from test import test_timeout + from test import test_codecmaps_cn, test_codecmaps_jp + from test import test_codecmaps_kr, test_codecmaps_tw self.valid = False if sys.platform in _expectations: @@ -973,6 +970,10 @@ class _ExpectedSkips: if test_timeout.skip_expected: self.expected.add('test_timeout') + for cc in ('cn', 'jp', 'kr', 'tw'): + if eval('test_codecmaps_' + cc).skip_expected: + self.expected.add('test_codecmaps_' + cc) + if not sys.platform in ("mac", "darwin"): MAC_ONLY = ["test_macostools", "test_macfs", "test_aepack", "test_plistlib", "test_scriptpackages"] |