[Python-3000] Failing unit tests on WIndows

Giampaolo Rodola' gnewsg at gmail.com
Mon Oct 22 15:07:50 CEST 2007


On 22 Ott, 04:13, Christian Heimes <li... at cheimes.de> wrote:
> Python 3000 needs some love from Windows developers. The test were run
> on Windows XP SP2, X86, VS 2003, SDK 2003R2, rev58587 with a fixed
> pythoncore project file. My build environment has no devenv.exe so bsddb
> is missing.
>
> 252 tests OK.
> 20 tests failed:
>     test_csv test_dumbdbm test_file test_fileinput test_gettext
>     test_io test_mailbox test_netrc test_pep277 test_shutil
>     test_sqlite test_strptime test_subprocess test_tarfile
>     test_tempfile test_threaded_import test_threadedtempfile test_time
>     test_urllib test_zipfile
> 48 tests skipped:
>     test__locale test_aepack test_applesingle test_bsddb test_bsddb3
>     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_grp test_ioctl test_largefile test_macostools test_mhlib
>     test_nis test_normalization test_openpty test_ossaudiodev
>     test_pipes test_plistlib test_poll test_posix test_pty test_pwd
>     test_resource test_scriptpackages test_signal test_socket_ssl
>     test_socketserver test_ssl test_syslog test_threadsignals
>     test_timeout test_urllib2net test_urllibnet test_wait3 test_wait4
>     test_xmlrpc_net test_zipfile64
> 3 skips unexpected on win32:
>     test_ssl test_syslog test_bsddb
>
> Christian
>
> _______________________________________________
> Python-3000 mailing list
> Python-3... at python.orghttp://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:http://mail.python.org/mailman/options/python-3000/python-3000-garchi...

Most error seems to be attributable to Unicode-related problems:

UnicodeDecodeError: 'utf8' codec can't decode bytes in position xx-yy:
invalid data

The following tests DO NOT fail on my Windows XP prof sp2 box:
test_sqlite, test_strptime, test_tarfile, test_threaded_import,
test_threadedtempfile, test_time, test_urllib, test_zipfile.



More information about the Python-3000 mailing list