[Python-Dev] Python 2.5.1

Khalid A. Bakr khabkr at yahoo.com
Sun Apr 29 06:49:59 CEST 2007


For reference, this is the result of running the
regression tests of the official Python 2.5.1 (final)
on Win98. I think I saw it in the installtion screen
that Python 2.5 is the last release to support Win98. 

Even though the unicode tests failing might be
expected, what interested me was the fact that
test_1565150 of test_os failed. Details follow.



259 tests OK.
8 tests failed:
    test_anydbm test_bsddb test_mailbox test_os     
    test_shelve test_unicode_file test_uuid 
    test_whichdb
54 tests skipped:
    test__locale test_aepack test_al test_applesingle 
    test_bsddb185 test_bsddb3 test_cd test_cl 
    test_codecmaps_cn test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr 
    test_codecmaps_tw test_commands test_crypt 
    test_curses test_dbm test_dl test_fcntl
    test_fork1 test_gdbm test_gl test_grp test_imgfile

    test_ioctl test_largefile test_linuxaudiodev 
    test_macfs test_macostools test_mhlib test_nis 
    test_normalization test_openpty test_ossaudiodev 
    test_pep277 test_plistlib test_poll test_posix
    test_pty test_pwd test_resource 
    test_scriptpackages test_signal test_socket_ssl 
    test_socketserver test_sunaudiodev test_tcl
    test_threadsignals test_timeout test_urllib2net 
    test_urllibnet test_wait3 test_wait4
test_zipfile64
1 skip unexpected on win32:
    test_tcl
        find_library('c') ->  None
        find_library('m') ->  None
    a DOS box should flash briefly ...



$ python -i
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> from test import test_os as t
>>> t.test_main()
test_access (test.test_os.FileTests) ... ok
test_tempnam (test.test_os.TemporaryFileTests) ... ok
test_tmpfile (test.test_os.TemporaryFileTests) ... ok
test_tmpnam (test.test_os.TemporaryFileTests) ... ok
test_1565150 (test.test_os.StatAttributeTests) ...
FAIL
test_1686475 (test.test_os.StatAttributeTests) ... ok
test_stat_attributes (test.test_os.StatAttributeTests)
... ok
test_statvfs_attributes
(test.test_os.StatAttributeTests) ... ok
test_bool (test.test_os.EnvironTests) ... ok
test_constructor (test.test_os.EnvironTests) ... ok
test_get (test.test_os.EnvironTests) ... ok
test_getitem (test.test_os.EnvironTests) ... ok
test_items (test.test_os.EnvironTests) ... ok
test_keys (test.test_os.EnvironTests) ... ok
test_len (test.test_os.EnvironTests) ... ok
test_pop (test.test_os.EnvironTests) ... ok
test_popitem (test.test_os.EnvironTests) ... ok
test_read (test.test_os.EnvironTests) ... ok
test_setdefault (test.test_os.EnvironTests) ... ok
test_update (test.test_os.EnvironTests) ... ok
test_update2 (test.test_os.EnvironTests) ... ok
test_values (test.test_os.EnvironTests) ... ok
test_write (test.test_os.EnvironTests) ... ok
test_traversal (test.test_os.WalkTests) ... ok
test_makedir (test.test_os.MakedirTests) ... ok
test_devnull (test.test_os.DevNullTests) ... ok
test_urandom (test.test_os.URandomTests) ... ok
test_access (test.test_os.Win32ErrorTests) ... ok
test_chdir (test.test_os.Win32ErrorTests) ... ok
test_chmod (test.test_os.Win32ErrorTests) ... ok
test_mkdir (test.test_os.Win32ErrorTests) ... ok
test_remove (test.test_os.Win32ErrorTests) ... ok
test_rename (test.test_os.Win32ErrorTests) ... ok
test_utime (test.test_os.Win32ErrorTests) ... ok

======================================================================
FAIL: test_1565150 (test.test_os.StatAttributeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "G:\GMISC\PY25\lib\test\test_os.py", line 232,
in test_1565150
    self.assertEquals(os.stat(self.fname).st_mtime,
t1)
AssertionError: 1159195040.0 != 1159195039.25

----------------------------------------------------------------------
Ran 34 tests in 0.440s

FAILED (failures=1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "G:\GMISC\PY25\lib\test\test_os.py", line 434,
in test_main
    Win32ErrorTests
  File "G:\GMISC\PY25\lib\test\test_support.py", line
441, in run_unittest
    run_suite(suite, testclass)
  File "G:\GMISC\PY25\lib\test\test_support.py", line
426, in run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent
call last):
  File "G:\GMISC\PY25\lib\test\test_os.py", line 232,
in test_1565150
    self.assertEquals(os.stat(self.fname).st_mtime,
t1)
AssertionError: 1159195040.0 != 1159195039.25

>>> 
>>>     
>>> 


Regards,
Khalid

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Python-Dev mailing list