diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-29 22:01:17 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-29 22:01:17 (GMT) |
commit | 7035c98c5c0eec7f88fab146e72b2a7e4aaf64a5 (patch) | |
tree | 24721f6fde293fb5bdc163444de04c4c77e83ea4 /Lib | |
parent | b9a0f9121876cbc728cbef88f16bb32b92712d2d (diff) | |
download | cpython-7035c98c5c0eec7f88fab146e72b2a7e4aaf64a5.zip cpython-7035c98c5c0eec7f88fab146e72b2a7e4aaf64a5.tar.gz cpython-7035c98c5c0eec7f88fab146e72b2a7e4aaf64a5.tar.bz2 |
Move Mac/Windows specific expected skips from each platform list
to the ExpectedSkips class. Add test_scriptpackages to Mac only list.
Add test_unicode_file to Windows only list.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 57 |
1 files changed, 8 insertions, 49 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index c2d546d..818b4aa 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -574,14 +574,11 @@ _expectations = { test_ioctl test_largefile test_linuxaudiodev - test_macfs - test_macostools test_mhlib test_mpz test_nis test_openpty test_ossaudiodev - test_plistlib test_poll test_posix test_pty @@ -604,15 +601,11 @@ _expectations = { test_imgfile test_largefile test_linuxaudiodev - test_macfs - test_macostools test_nis test_ntpath test_ossaudiodev - test_plistlib test_socketserver test_sunaudiodev - test_unicode_file """, 'mac': """ @@ -658,7 +651,6 @@ _expectations = { test_sundry test_tarfile test_timing - test_unicode_file """, 'unixware7': """ @@ -671,19 +663,15 @@ _expectations = { test_imgfile test_largefile test_linuxaudiodev - test_macfs - test_macostools test_minidom test_nis test_ntpath test_openpty - test_plistlib test_pyexpat test_sax test_socketserver test_sunaudiodev test_sundry - test_unicode_file """, 'openunix8': """ @@ -696,19 +684,15 @@ _expectations = { test_imgfile test_largefile test_linuxaudiodev - test_macfs - test_macostools test_minidom test_nis test_ntpath test_openpty - test_plistlib test_pyexpat test_sax test_socketserver test_sunaudiodev test_sundry - test_unicode_file """, 'sco_sv3': """ @@ -725,13 +709,10 @@ _expectations = { test_largefile test_linuxaudiodev test_locale - test_macfs - test_macostools test_minidom test_nis test_ntpath test_openpty - test_plistlib test_pyexpat test_queue test_sax @@ -742,7 +723,6 @@ _expectations = { test_threaded_import test_threadedtempfile test_threading - test_unicode_file """, 'riscos': """ @@ -764,13 +744,10 @@ _expectations = { test_largefile test_linuxaudiodev test_locale - test_macfs - test_macostools test_mmap test_nis test_ntpath test_openpty - test_plistlib test_poll test_popen2 test_pty @@ -784,7 +761,6 @@ _expectations = { test_threadedtempfile test_threading test_timing - test_unicode_file """, 'darwin': """ @@ -811,7 +787,6 @@ _expectations = { test_poll test_socketserver test_sunaudiodev - test_unicode_file """, 'sunos5': """ @@ -827,11 +802,8 @@ _expectations = { test_gzip test_imgfile test_linuxaudiodev - test_macfs - test_macostools test_mpz test_openpty - test_plistlib test_socketserver test_zipfile test_zlib @@ -851,18 +823,14 @@ _expectations = { test_largefile test_linuxaudiodev test_locale - test_macfs - test_macostools test_minidom test_nis test_ntpath test_openpty - test_plistlib test_pyexpat test_sax test_socketserver test_sunaudiodev - test_unicode_file test_zipfile test_zlib """, @@ -880,19 +848,15 @@ _expectations = { test_largefile test_linuxaudiodev test_locale - test_macfs - test_macostools test_mhlib test_mmap test_mpz test_nis - test_plistlib test_poll test_popen2 test_resource test_socketserver test_sunaudiodev - test_unicode_file """, 'cygwin': """ @@ -908,15 +872,11 @@ _expectations = { test_largefile test_linuxaudiodev test_locale - test_macfs - test_macostools test_mpz test_nis test_ossaudiodev - test_plistlib test_socketserver test_sunaudiodev - test_unicode_file """, 'os2emx': """ @@ -934,19 +894,15 @@ _expectations = { test_imgfile test_largefile test_linuxaudiodev - test_macfs - test_macostools test_mhlib test_mmap test_nis test_openpty test_ossaudiodev - test_plistlib test_pty test_resource test_signal test_sunaudiodev - test_unicode_file """, } @@ -975,13 +931,16 @@ class _ExpectedSkips: self.expected.add('test_timeout') if not sys.platform in ("mac", "darwin"): - self.expected.add("test_macostools") - self.expected.add("test_macfs") - self.expected.add("test_aepack") + MAC_ONLY = ["test_macostools", "test_macfs", "test_aepack", + "test_plistlib", "test_scriptpackages"] + for skip in MAC_ONLY: + self.expected.add(skip) if sys.platform != "win32": - self.expected.add("test_winreg") - self.expected.add("test_winsound") + WIN_ONLY = ["test_unicode_file", "test_winreg", + "test_winsound"] + for skip in WIN_ONLY: + self.expected.add(skip) self.valid = True |