Revision 128 as of 2007-08-03 19:06:32

Clear message

(Back to ["Python3000"].)

List of tests that are failing in the py3k-struni branch


How to run tests

Assume you've got the py3k-struni branch checked out.

./python Lib/test/ test_foobar  # runs test_foobar
./python Lib/test/   # for more detail about failures

(Some tests need you to use -uall above.)

The Failing Tests



test_coding: fails on CYGWIN only

test_cookielib FIXED IN SF JoeGregorio

test_csv - Adam Hupp <firstname at> 2007-07-21




test_marshal: fails on CYGWIN only

test_plistlib (OSX only)

test_scriptpackages (OSX only)

test_shelve: Requires bsddb to be fixed (Brett Cannon); some work done in r56548.


test_tarfile: A lot of TypeError: can't concat bytes to str and other byte/str confusions.

test_threaded_import FIXED IN WIKI replace "_os.fdopen" with "" in Lib/ Paul Colomiets <pc at>

test_urllib2: FIXED IN SF JoeGregorio

test_urllib2_localnet: ISSUE bytes/str issues in BaseHTTPServer and httplib. MINE Jeremy Hylton 08/03/07 (might cover the urllib2?net tests, too)

test_urllib2net (add -uall)

test_urllibnet (add -uall):


Previously Fixed Tests

test_aepack (OSX only) FIXED IN SF (but somewhat hackily): JeffreyYasskin 2007-07-26

test_applesingle (OSX only) FIXED IN SF: JeffreyYasskin 2007-07-26

test_audioop: Fixed in r56469. MvL

test_asynchat FIXED IN SF Alexandre Vassalotti. COMMITTED r56290.

test_bigmem FIXED IN SF COMMITTED r56295.

test_cmd_line: FIXED IN SF ChristianHeimes -- COMMITTED

test_compile: COMMITTED r56494 GvR.

test_cpickle: Deleted, with cPickle. Alexandre's SoC work should lead to cPickle becoming invisible (Brett Cannon).

test_cProfile: FIXED IN SF by Amaury Forgeot d'Arc COMMITTED r56406.

test_ctypes: ThomasHeller: FIXED r56338.

test_curses (add -uall)COMMITTED r56516 GvR.

test_datetime: pickling is broken since r56461, due to cPickle not understanding bytes. Decided the right solution is to stop using cPickle. COMMITTED r56462. GvR.

test_descr GuidoVanRossum: FIXED r56252. test_descr says: ['foo\u1234bar'] slots not caught; FIXED r56470 GvR.

test_dl FIXED IN SF AlexandreVassalotti 2007-07-11 COMMITTED r56288.

test_doctest: Fixed for OSX in r56468, MvL. Fixed for Ubuntu in r56472, Collin Winter.

test_frozen COMMITTED r56503 GvR.

test_ftplib: FIXED IN SF by Amaury Forgeot d'Arc. FIXED differently by GvR.

test_getargs: (amauryfa) I suggest to remove this test. Now that conversion from unicode to char* uses utf8, no error can occur. Deletion COMMITTED r56495 GvR.

test_gettext FIXED IN SF ChristianHeimes. COMMITTED r56292.

test_largefile: converted some string literals to byte literals. COMMITTED r56499 Collin Winter.

test_macostools (OSX only) FIXED IN SF by Jeffrey Yasskin 22 July 2007 COMMITTED r56510 GvR.

test_mailbox FIXED IN SF: Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR.

test_mmap JoeGregorio FIXED IN SF COMMITTED r56400.

test_minidom PARTLY FIXED IN SF COMMITTED r56586 GvR. Remaining issue COMMITTED r56587 GvR.

test_old_mailbox FIXED IN SF: Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR.

test_pep263 ChristianHeimes FIXED IN WIKI. The fix isn't worth a patch. You have to convert two string to byte by putting a b in front of them. .encode() returns bytes. COMMITTED by ThomasHeller.

test_pickle: started complaining about unhashable type: 'bytes' since MvL's checkin. COMMITTED r56461 GvR.

test_pickletools Pickle doesn't handle str vs. str8 vs. byte correctly. Do we pickle str as UNICODE or STRING? FIXED by GvR.

test_poll Christian Heimes FIXED IN WIKI: Replace MSG = " This is a test." with MSG = b" This is a test." COMMITTED r56285.

test_poplib: needed to change one str literal to a bytes literal in COMMITTED r56498 Collin Winter.

test_pyexpat JoeGregorio FIXED IN SF COMMITTED r56512 GvR.

test_quopri: fixed in r56606.

test_resource: fixed by a change to (ignore errors from flush() in close()) COMMITTED r56496 GvR.

test_sgmllib (passes on Ubuntu, fails on OSX, and on CYGWIN) COMMITTED r56585 GvR.

test_socketserver (add -uall) FIXED IN SF Paul Colomiets. COMMITTED r56708 GvR.

test_tcl: COMMITTED r56514 GvR.

test_ucn FIXED IN SF: Alexandre Vassalotti 20 July 2007. COMMITTED r56473 GvR.

test_unicode_file: COMMITTED r56625 (Brett Cannon).

test_uu FIXED IN SF ChristianHeimes The patch may fix several other unit tests, too. (A different fix was committed; GvR.)

test_uuid: COMMITTED r56471. GvR.

test_xdrlib: COMMITTED r56549.

test_xml_etree FIXED IN SF JoeGregorio

test_xmlrpc: COMMITTED r56609, 56610, and 56626 (Brett Cannon)

test_xpickle: deleted, with cPickle.

test_wave: probably not worth fixing; aren't we going to delete this? Anthony Baxter might want it (Brett Cannon). A fix that makes the test passed was COMMITTED r56515 GvR.

test_zipimport: FIXED IN SF Paul Colomiets. COMMITTED r56707 GvR.

Unable to edit the page? See the FrontPage for instructions.