[Pythonmac-SIG] MacPython 2.2, MacOS 8.1, test_regtest.py: What works, what fails.

Stefan Witzgall stefan.witzgall@online.de
Mon, 24 Dec 2001 07:14:17 +0100


Hi all,

as one could read in the parallel thread concerning the MacPython 2.2
installer the IDE doesn't work with MacOS 8.1 but the interpreter does. Ok,
I let it do a test. Am I right, that so following results are quite nomral?
What about the failing tests?

Stefan

interpreter output:
===================

test_grammar
[the first output line; cut many lines in the following]

test test_al skipped -- No module named al
test test_bsddb skipped -- No module named bsddb
test test_cd skipped -- No module named cd
test test_cl skipped -- No module named cl
test test_commands skipped -- Not posix; skipping test_commands
test test_crypt skipped -- No module named crypt
test test_curses skipped -- No module named _curses
test test_dbm skipped -- No module named dbm
test test_dl skipped -- No module named dl
test test_fcntl skipped -- No module named fcntl
test test_fork1 skipped -- os.fork not defined -- skipping test_fork1
test test_frozen failed -- import __phello__.foo should have failed
test test_gl skipped -- No module named gl
test test_grp skipped -- No module named grp
test test_imgfile skipped -- No module named imgfile
test test_largefile skipped -- filesystem does not have largefile support
test test_linuxaudiodev skipped -- No module named fcntl
test test_locale skipped -- test locale en_US not supported
test test_longexp crashed -- exceptions.MemoryError:
test test_mmap skipped -- No module named mmap
test test_nis skipped -- No module named nis
test test_ntpath skipped -- No module named nt
test test_openpty skipped -- No openpty() available.
test test_poll skipped -- select.poll not defined -- skipping test_poll
test test_popen2 skipped -- cannot import name fork
test test_pty skipped -- No module named termios
test test_pwd skipped -- No module named pwd
test test_signal skipped -- No module named signal
test test_socket_ssl skipped -- Use of the `network' resource not enabled
test test_socketserver skipped -- Use of the `network' resource not enabled
test test_sunaudiodev skipped -- No module named sunaudiodev
test test_time failed -- Traceback (most recent call last):
  File "archive_1_red:Python 2.2:Lib:test:test_time.py", line 46, in
test_mktime
    time.mktime, (999999, 999999, 999999, 999999,
  File "archive_1_red:Python 2.2:Lib:unittest.py", line 279, in
failUnlessRaises
    raise self.failureException, excName
AssertionError: OverflowError
test test_timing skipped -- No module named timing
test test_unicode_file skipped -- No Unicode filesystem semantics on this
platform.
test test_winreg skipped -- No module named _winreg
test test_winsound skipped -- No module named winsound
test test_zlib crashed -- exceptions.MemoryError:

149 tests OK.
4 tests failed:
    test_frozen test_longexp test_time test_zlib
33 tests skipped:
    test_al test_bsddb test_cd test_cl test_commands test_crypt
    test_curses test_dbm test_dl test_fcntl test_fork1 test_gl
    test_grp test_imgfile test_largefile test_linuxaudiodev
    test_locale test_mmap test_nis test_ntpath test_openpty test_poll
    test_popen2 test_pty test_pwd test_signal test_socket_ssl
    test_socketserver test_sunaudiodev test_timing test_unicode_file
    test_winreg test_winsound
Those skips are all expected on mac.

<Stefan.Witzgall@online.de>