Size: 1942
Comment:
|
Size: 6377
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
* if you start working on a test, to avoid duplicate work, add your name+email+date to the bulleted item for the test below, with the text "FIXING" or "INVESTIGATING" | * if you start working on a test, to avoid duplicate work, add your name+email+date to the bulleted item for the test below, with the text "MINE" |
Line 9: | Line 9: |
* if you fix a test, and you check in the fix, add a note "FIXED" (occasionally we'll clean these up) * if you don't have checkin permissions, use the SF patch manager and note the patch number here (perhaps in the form of a link to python.org/sf/NNNNN), and add a note "FIXED" (plus name etc.) |
* if you fix a test, and you check in the fix, add a note "COMMITTED" with the svn revision (occasionally we'll clean these up) * if you don't have checkin permissions, use the SF patch manager and note the patch number here (perhaps in the form of a link to python.org/sf/NNNNN), and add a note "FIXED IN SF" (plus name etc.) |
Line 14: | Line 14: |
* Assume you've got the py3k-struni branch checked out * ./configure * make * ./python Lib/test/regrtest.py test_foobar * ./python Lib/test/test_foobar.py # for more detail about failures |
Assume you've got the py3k-struni branch checked out. {{{ ./configure make ./python Lib/test/regrtest.py test_foobar # runs test_foobar ./python Lib/test/test_foobar.py # for more detail about failures }}} |
Line 20: | Line 22: |
== The tests == | (Some tests need you to use {{{regrtest.py -uall}}} above.) |
Line 22: | Line 24: |
test_aepack | == The Failing Tests == |
Line 24: | Line 26: |
test_applesingle | test_bsddb |
Line 26: | Line 28: |
test_asynchat | test_bsddb3 |
Line 28: | Line 30: |
test_audioop | test_coding: fails on CYGWIN only |
Line 30: | Line 32: |
test_bigmem | test_cookielib FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio |
Line 32: | Line 34: |
test_cProfile test_cmd_line test_compile test_cookielib test_cpickle test_csv test_ctypes test_descr test_dl test_doctest |
test_csv - Adam Hupp <firstname at lastname.org> 2007-07-21 |
Line 58: | Line 42: |
test_frozen | test_marshal: fails on CYGWIN only |
Line 60: | Line 44: |
test_ftplib | test_plistlib (OSX only) |
Line 62: | Line 46: |
test_genericpath | test_scriptpackages (OSX only) |
Line 64: | Line 48: |
test_getargs | test_shelve: WHY = Requires bsddb to be fixed (Brett Cannon); some work done in r56548. |
Line 66: | Line 50: |
test_gettext test_hmac test_macostools test_mailbox test_marshal test_minidom test_mmap test_old_mailbox test_pep263 test_pickle test_pickletools test_plistlib test_poll test_poplib test_posixpath test_pyexpat test_quopri test_resource test_scriptpackages test_sgmllib test_shelve test_socket |
test_socketserver (add -uall) |
Line 112: | Line 54: |
test_tarfile | test_tarfile: A lot of TypeError: can't concat bytes to str and other byte/str confusions. |
Line 114: | Line 56: |
test_tcl test_telnetlib test_threaded_import test_ucn |
test_threaded_import FIXED IN WIKI replace "_os.fdopen" with "_io.open" Paul Colomiets <pc at gafol.net> |
Line 124: | Line 60: |
test_urllib | test_urllib2: FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio |
Line 126: | Line 62: |
test_urllib2 | test_urllib2_localnet |
Line 128: | Line 64: |
test_uu | test_urllib2net (add -uall) |
Line 130: | Line 66: |
test_wave test_xdrlib test_xml_etree |
test_urllibnet (add -uall) |
Line 138: | Line 70: |
test_xmlrpc | test_xmlrpc: Some work in r56609, 56610. Code works in string literals but calls str.encode() which returns bytes and causes the str.join errors. Make xmlwprclib.dumps return bytes, or don't perform encoding? (Brett Cannon) |
Line 140: | Line 72: |
test_xpickle | test_zipimport: lots of str/bytes issues, shouldn't be too hard; important |
Line 142: | Line 74: |
test_zipimport | == Previously Fixed Tests == |
Line 144: | Line 76: |
---- CategoryLanguage |
test_aepack (OSX only) FIXED IN SF (but somewhat hackily): http://python.org/sf/1761465 JeffreyYasskin 2007-07-26 test_applesingle (OSX only) FIXED IN SF: http://python.org/sf/1761465 JeffreyYasskin 2007-07-26 test_audioop: Fixed in r56469. MvL test_asynchat FIXED IN SF http://www.python.org/sf/1752173 Alexandre Vassalotti. COMMITTED r56290. test_bigmem FIXED IN SF http://www.python.org/sf/1752195. COMMITTED r56295. test_cmd_line: FIXED IN SF http://www.python.org/sf/1751493 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 http://www.python.org/sf/1755176 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 http://www.python.org/sf/1752229 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 http://www.python.org/sf/1755206 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 http://www.python.org/sf/1751958 ChristianHeimes. COMMITTED r56292. test_largefile: converted some string literals to byte literals. COMMITTED r56499 Collin Winter. test_macostools (OSX only) FIXED IN SF http://python.org/sf/1758570 by Jeffrey Yasskin 22 July 2007 COMMITTED r56510 GvR. test_mailbox FIXED IN SF: http://python.org/sf/1757774 Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR. test_mmap JoeGregorio FIXED IN SF http://www.python.org/sf/1752647 COMMITTED r56400. test_minidom PARTLY FIXED IN SF http://python.org/sf/1759922. COMMITTED r56586 GvR. Remaining issue COMMITTED r56587 GvR. test_old_mailbox FIXED IN SF: http://python.org/sf/1757774 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 poplib.py. COMMITTED r56498 Collin Winter. test_pyexpat JoeGregorio FIXED IN SF http://www.python.org/sf/1759016. COMMITTED r56512 GvR. test_quopri: fixed in r56606. test_resource: fixed by a change to io.py (ignore errors from flush() in close()) COMMITTED r56496 GvR. test_sgmllib (passes on Ubuntu, fails on OSX, and on CYGWIN) COMMITTED r56585 GvR. test_tcl: COMMITTED r56514 GvR. test_ucn FIXED IN SF: http://python.org/sf/1757758 Alexandre Vassalotti 20 July 2007. COMMITTED r56473 GvR. test_uu FIXED IN SF ChristianHeimes http://www.python.org/sf/1754339 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 http://www.python.org/sf/1762412 JoeGregorio 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. |
List of tests that are failing in the py3k-struni branch
(Back to ["Python3000"].)
Protocol:
- if you start working on a test, to avoid duplicate work, add your name+email+date to the bulleted item for the test below, with the text "MINE"
- if you figure out why a test is failing, just add a note (name etc. is still appreciated)
- if you fix a test, and you check in the fix, add a note "COMMITTED" with the svn revision (occasionally we'll clean these up)
- if you don't have checkin permissions, use the SF patch manager and note the patch number here (perhaps in the form of a link to python.org/sf/NNNNN), and add a note "FIXED IN SF" (plus name etc.)
How to run tests
Assume you've got the py3k-struni branch checked out.
./configure make ./python Lib/test/regrtest.py test_foobar # runs test_foobar ./python Lib/test/test_foobar.py # for more detail about failures
(Some tests need you to use regrtest.py -uall above.)
The Failing Tests
test_bsddb
test_bsddb3
test_coding: fails on CYGWIN only
test_cookielib FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio
test_csv - Adam Hupp <firstname at lastname.org> 2007-07-21
test_email
test_email_codecs
test_email_renamed
test_marshal: fails on CYGWIN only
test_plistlib (OSX only)
test_scriptpackages (OSX only)
test_shelve: WHY = Requires bsddb to be fixed (Brett Cannon); some work done in r56548.
test_socketserver (add -uall)
test_sqlite
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 "_io.open" Paul Colomiets <pc at gafol.net>
test_unicode_file
test_urllib2: FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio
test_urllib2_localnet
test_urllib2net (add -uall)
test_urllibnet (add -uall)
test_xml_etree_c
test_xmlrpc: Some work in r56609, 56610. Code works in string literals but calls str.encode() which returns bytes and causes the str.join errors. Make xmlwprclib.dumps return bytes, or don't perform encoding? (Brett Cannon)
test_zipimport: lots of str/bytes issues, shouldn't be too hard; important
Previously Fixed Tests
test_aepack (OSX only) FIXED IN SF (but somewhat hackily): http://python.org/sf/1761465 JeffreyYasskin 2007-07-26
test_applesingle (OSX only) FIXED IN SF: http://python.org/sf/1761465 JeffreyYasskin 2007-07-26
test_audioop: Fixed in r56469. MvL
test_asynchat FIXED IN SF http://www.python.org/sf/1752173 Alexandre Vassalotti. COMMITTED r56290.
test_bigmem FIXED IN SF http://www.python.org/sf/1752195. COMMITTED r56295.
test_cmd_line: FIXED IN SF http://www.python.org/sf/1751493 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 http://www.python.org/sf/1755176 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 http://www.python.org/sf/1752229 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 http://www.python.org/sf/1755206 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 http://www.python.org/sf/1751958 ChristianHeimes. COMMITTED r56292.
test_largefile: converted some string literals to byte literals. COMMITTED r56499 Collin Winter.
test_macostools (OSX only) FIXED IN SF http://python.org/sf/1758570 by Jeffrey Yasskin 22 July 2007 COMMITTED r56510 GvR.
test_mailbox FIXED IN SF: http://python.org/sf/1757774 Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR.
test_mmap JoeGregorio FIXED IN SF http://www.python.org/sf/1752647 COMMITTED r56400.
test_minidom PARTLY FIXED IN SF http://python.org/sf/1759922. COMMITTED r56586 GvR. Remaining issue COMMITTED r56587 GvR.
test_old_mailbox FIXED IN SF: http://python.org/sf/1757774 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 poplib.py. COMMITTED r56498 Collin Winter.
test_pyexpat JoeGregorio FIXED IN SF http://www.python.org/sf/1759016. COMMITTED r56512 GvR.
test_quopri: fixed in r56606.
test_resource: fixed by a change to io.py (ignore errors from flush() in close()) COMMITTED r56496 GvR.
test_sgmllib (passes on Ubuntu, fails on OSX, and on CYGWIN) COMMITTED r56585 GvR.
test_tcl: COMMITTED r56514 GvR.
test_ucn FIXED IN SF: http://python.org/sf/1757758 Alexandre Vassalotti 20 July 2007. COMMITTED r56473 GvR.
test_uu FIXED IN SF ChristianHeimes http://www.python.org/sf/1754339 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 http://www.python.org/sf/1762412 JoeGregorio
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.