Differences between revisions 2 and 157 (spanning 155 versions)
Revision 2 as of 2007-07-10 14:04:43
Size: 1942
Editor: 213
Comment:
Revision 157 as of 2007-08-08 02:48:52
Size: 7696
Editor: adsl-072-148-043-048
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
(Back to ["Python3000"].)
Line 2: Line 4:

(Back to ["Python3000"].)
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 ------
Line 24: Line 26:
test_applesingle = The Failing Tests =
Line 26: Line 28:
test_asynchat test_bsddb3
Line 28: Line 30:
test_audioop

test_bigmem

test_cProfile

test_cmd_line

test_compile

test_cookielib

test_cpickle

test_csv

test_ctypes

test_descr

test_dl

test_doctest
test_ctypes (one test started failing again recently)
Line 58: Line 38:
test_frozen test_sqlite (MINE GerhardHaering - I will take care of this the next days.)
Line 60: Line 40:
test_ftplib test_urllib2_localnet: ISSUE bytes/str issues in BaseHTTPServer and httplib. MINE Jeremy Hylton 08/03/07 (might cover the urllib2?net tests, too)
Line 62: Line 42:
test_genericpath test_urllib2net (add -uall): MINE Jeremy Hylton 8/04/07
Line 64: Line 44:
test_getargs test_xml_etree_c FIXED IN SF http://python.org/sf/1769767 JoeGregorio
Line 66: Line 46:
test_gettext
Line 68: Line 47:
test_hmac == Tests Failing on Some Platforms Only ==
Line 70: Line 49:
test_macostools
Line 72: Line 50:
test_mailbox === Failing on 64-bit Platforms Only ===

test_io (64-bit: line 100, in read_ops b'hello world\n' != b'hello')

 * In Modules/_fileio.c, line 441, fileio_read(), the second argument to PyArg_ParseTuple should be "|n" not "|i".

test_largefile (64-bit: killed my box, no idea if it works or not)

test_ossaudiodev (64-bit: ???)

test_poll (64-bit: line 129, pipe seems to be closed, but still returns data)

test_shelve (64-bit: ?)

test_socket_ssl (64-bit: seems to hang)


=== Failing on CYGWIN Only ===

test_coding
Line 76: Line 73:
test_minidom ------
Line 78: Line 75:
test_mmap = Previously Fixed Tests =
Line 80: Line 77:
test_old_mailbox test_aepack (OSX only) FIXED IN SF (but somewhat hackily): http://python.org/sf/1761465 JeffreyYasskin 2007-07-26
Line 82: Line 79:
test_pep263 test_applesingle (OSX only) FIXED IN SF: http://python.org/sf/1761465 JeffreyYasskin 2007-07-26
Line 84: Line 81:
test_pickle test_audioop: Fixed in r56469. MvL
Line 86: Line 83:
test_pickletools test_asynchat FIXED IN SF http://www.python.org/sf/1752173 Alexandre Vassalotti. COMMITTED r56290.
Line 88: Line 85:
test_plistlib test_bigmem FIXED IN SF http://www.python.org/sf/1752195. COMMITTED r56295.
Line 90: Line 87:
test_poll test_bsddb: Fixed in r56754. MvL
Line 92: Line 89:
test_poplib test_cmd_line: FIXED IN SF http://www.python.org/sf/1751493 ChristianHeimes -- COMMITTED
Line 94: Line 91:
test_posixpath test_compile: COMMITTED r56494 GvR.
Line 96: Line 93:
test_pyexpat test_cookielib FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio. COMMITTED r56709 GvR.
Line 98: Line 95:
test_quopri test_cpickle: Deleted, with cPickle. Alexandre's SoC work should lead to cPickle becoming invisible (Brett Cannon).
Line 100: Line 97:
test_resource test_cProfile: FIXED IN SF http://www.python.org/sf/1755176 by Amaury Forgeot d'Arc COMMITTED r56406.
Line 102: Line 99:
test_scriptpackages test_csv - Adam Hupp <firstname at lastname.org> 2007-07-21. COMMITTED GvR.
Line 104: Line 101:
test_sgmllib test_ctypes: ThomasHeller: FIXED r56338.
Line 106: Line 103:
test_shelve test_curses (add -uall)COMMITTED r56516 GvR.
Line 108: Line 105:
test_socket 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.
Line 110: Line 107:
test_sqlite test_descr GuidoVanRossum: FIXED r56252.
test_descr says: ['foo\u1234bar'] slots not caught; FIXED r56470 GvR.
Line 112: Line 110:
test_tarfile test_dl FIXED IN SF http://www.python.org/sf/1752229 AlexandreVassalotti 2007-07-11 COMMITTED r56288.
Line 114: Line 112:
test_tcl test_doctest: Fixed for OSX in r56468, MvL. Fixed for Ubuntu in r56472, Collin Winter.
Line 116: Line 114:
test_telnetlib test_frozen COMMITTED r56503 GvR.
Line 118: Line 116:
test_threaded_import test_ftplib: FIXED IN SF http://www.python.org/sf/1755206 by Amaury Forgeot d'Arc. FIXED differently by GvR.
Line 120: Line 118:
test_ucn 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.
Line 122: Line 121:
test_unicode_file test_gettext FIXED IN SF http://www.python.org/sf/1751958 ChristianHeimes. COMMITTED r56292.
Line 124: Line 123:
test_urllib test_largefile: converted some string literals to byte literals. COMMITTED r56499 Collin Winter.
Line 126: Line 125:
test_urllib2 test_macostools (OSX only) FIXED IN SF http://python.org/sf/1758570 by Jeffrey Yasskin 22 July 2007 COMMITTED r56510 GvR.
Line 128: Line 127:
test_uu test_mailbox FIXED IN SF: http://python.org/sf/1757774 Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR.
Line 130: Line 129:
test_wave test_mmap JoeGregorio FIXED IN SF http://www.python.org/sf/1752647
COMMITTED r56400.
Line 132: Line 132:
test_xdrlib test_minidom PARTLY FIXED IN SF http://python.org/sf/1759922. COMMITTED r56586 GvR. Remaining issue COMMITTED r56587 GvR.
Line 134: Line 134:
test_xml_etree test_old_mailbox FIXED IN SF: http://python.org/sf/1757774 Alexandre Vassalotti 20 July 2007. COMMITTED r56474 GvR.
Line 136: Line 136:
test_xml_etree_c 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.
Line 138: Line 138:
test_xmlrpc test_pickle: started complaining about unhashable type: 'bytes' since MvL's checkin. COMMITTED r56461 GvR.
Line 140: Line 140:
test_xpickle test_pickletools Pickle doesn't handle str vs. str8 vs. byte correctly. Do we pickle str as UNICODE or STRING? FIXED by GvR.
Line 142: Line 142:
test_zipimport test_plistlib: [http://python.org/sf/1769016 FIXED IN SF (1769016)] James Brotchie 2007-08-07. COMMITTED by Neal Norwitz.
Line 144: Line 144:
----
CategoryLanguage
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_scriptpackages: [http://python.org/sf/1768976 FIXED IN SF (1768976)] Antti Rasinen 2007-08-07. COMMITTEG r56800 GvR.

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

test_shelve: Requires bsddb to be fixed (Brett Cannon); some work done in r56548. (Abort trap in dbmmodile.c:107.) FIX COMMITTED GvR.

test_socketserver (add -uall) FIXED IN SF http://python.org/sf/1764815 Paul Colomiets. COMMITTED r56708 GvR.

test_socket_ssl (only fails when called via regrtest) (FIXED somehow)

test_tarfile: Lars Gustäbel COMMITTED.

test_tcl: COMMITTED r56514 GvR.

test_threaded_import FIXED IN WIKI replace "_os.fdopen" with "_io.open" in Lib/tempfile.py Paul Colomiets <pc at gafol.net>; COMMITTED r56757.

test_ucn FIXED IN SF: http://python.org/sf/1757758 Alexandre Vassalotti 20 July 2007. COMMITTED r56473 GvR.

test_unicode_file: COMMITTED r56625 (Brett Cannon).

test_urllib: COMMITTED r56734 (last of several) (Jeremy Hylton)

test_urllib2: FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio. COMMITTED r56709 gvR.

test_urllibnet (add -uall): FIX COMMITTED (Jeremy)

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_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 http://www.python.org/sf/1766592 Paul Colomiets. COMMITTED r56707 GvR.

(Back to ["Python3000"].)

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

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_bsddb3

test_ctypes (one test started failing again recently)

test_email

test_email_codecs

test_email_renamed

test_sqlite (MINE GerhardHaering - I will take care of this the next days.)

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): MINE Jeremy Hylton 8/04/07

test_xml_etree_c FIXED IN SF http://python.org/sf/1769767 JoeGregorio

Tests Failing on Some Platforms Only

Failing on 64-bit Platforms Only

test_io (64-bit: line 100, in read_ops b'hello world\n' != b'hello')

  • In Modules/_fileio.c, line 441, fileio_read(), the second argument to PyArg_ParseTuple should be "|n" not "|i".

test_largefile (64-bit: killed my box, no idea if it works or not)

test_ossaudiodev (64-bit: ???)

test_poll (64-bit: line 129, pipe seems to be closed, but still returns data)

test_shelve (64-bit: ?)

test_socket_ssl (64-bit: seems to hang)

Failing on CYGWIN Only

test_coding

test_marshal


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_bsddb: Fixed in r56754. MvL

test_cmd_line: FIXED IN SF http://www.python.org/sf/1751493 ChristianHeimes -- COMMITTED

test_compile: COMMITTED r56494 GvR.

test_cookielib FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio. COMMITTED r56709 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_csv - Adam Hupp <firstname at lastname.org> 2007-07-21. COMMITTED GvR.

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_plistlib: [http://python.org/sf/1769016 FIXED IN SF (1769016)] James Brotchie 2007-08-07. COMMITTED by Neal Norwitz.

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_scriptpackages: [http://python.org/sf/1768976 FIXED IN SF (1768976)] Antti Rasinen 2007-08-07. COMMITTEG r56800 GvR.

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

test_shelve: Requires bsddb to be fixed (Brett Cannon); some work done in r56548. (Abort trap in dbmmodile.c:107.) FIX COMMITTED GvR.

test_socketserver (add -uall) FIXED IN SF http://python.org/sf/1764815 Paul Colomiets. COMMITTED r56708 GvR.

test_socket_ssl (only fails when called via regrtest) (FIXED somehow)

test_tarfile: Lars Gustäbel COMMITTED.

test_tcl: COMMITTED r56514 GvR.

test_threaded_import FIXED IN WIKI replace "_os.fdopen" with "_io.open" in Lib/tempfile.py Paul Colomiets <pc at gafol.net>; COMMITTED r56757.

test_ucn FIXED IN SF: http://python.org/sf/1757758 Alexandre Vassalotti 20 July 2007. COMMITTED r56473 GvR.

test_unicode_file: COMMITTED r56625 (Brett Cannon).

test_urllib: COMMITTED r56734 (last of several) (Jeremy Hylton)

test_urllib2: FIXED IN SF http://www.python.org/sf/1762940 JoeGregorio. COMMITTED r56709 gvR.

test_urllibnet (add -uall): FIX COMMITTED (Jeremy)

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_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 http://www.python.org/sf/1766592 Paul Colomiets. COMMITTED r56707 GvR.

Py3kStrUniTests (last edited 2008-11-15 14:00:38 by localhost)

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