Commits that only affect the Lib/test/ directory -- lower-priority for 2.5.3 than commits that fix bugs in library or interpreter code. ----------------------------------- [http://svn.python.org/view?rev=61021&view=rev r61021] | georg.brandl | 2008-02-23 17:35:33 -0500 (Sat, 23 Feb 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_bisect.py M /python/trunk/Lib/test/test_heapq.py In test_heapq and test_bisect, test both the Python and the C implementation. Originally written for GHOP by Josip Dzolonga, heavily patched by me. ----------------------------------- [http://svn.python.org/view?rev=61060&view=rev r61060] | brett.cannon | 2008-02-25 00:33:33 -0500 (Mon, 25 Feb 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_support.py Fix a minor typo in a docstring. ----------------------------------- [http://svn.python.org/view?rev=61063&view=rev r61063] | andrew.kuchling | 2008-02-25 11:29:19 -0500 (Mon, 25 Feb 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_curses.py Move .setupterm() output so that we don't try to call endwin() if it fails ----------------------------------- [http://svn.python.org/view?rev=61077&view=rev r61077] | neal.norwitz | 2008-02-25 23:50:37 -0500 (Mon, 25 Feb 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_ftplib.py Don't use a hard coded port. This test could hang/fail if the port is in use. Speed this test up by avoiding a sleep and using the event. ----------------------------------- [http://svn.python.org/view?rev=61081&view=rev r61081] | neal.norwitz | 2008-02-26 03:04:59 -0500 (Tue, 26 Feb 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_smtplib.py Speed up this test by about 99%. Remove sleeps and replace with events. (This may fail on some slow platforms, but we can fix those cases which should be relatively isolated and easier to find now.) Move two test cases that didn't require a server to be started to a separate TestCase. These tests were taking 3 seconds which is what the timeout was set to. ----------------------------------- [http://svn.python.org/view?rev=61090&view=rev r61090] | raymond.hettinger | 2008-02-26 20:08:30 -0500 (Tue, 26 Feb 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_itertools.py Larger test range ----------------------------------- [http://svn.python.org/view?rev=61099&view=rev r61099] | jeffrey.yasskin | 2008-02-28 00:53:18 -0500 (Thu, 28 Feb 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_socketserver.py Speed test_socketserver up from 28.739s to 0.226s, simplify the logic, and make sure all tests run even if some fail. ----------------------------------- [http://svn.python.org/view?rev=61113&view=rev r61113] | christian.heimes | 2008-02-28 16:00:45 -0500 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Windows fix for signal test - skip it earlier ----------------------------------- [http://svn.python.org/view?rev=61192&view=rev r61192] | brett.cannon | 2008-03-02 21:41:40 -0500 (Sun, 02 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_largefile.py Move test_largefile over to using 'with' statements for open files. Also rename the driver function to test_main() instead of main_test(). ----------------------------------- [http://svn.python.org/view?rev=61194&view=rev r61194] | brett.cannon | 2008-03-02 22:24:48 -0500 (Sun, 02 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_largefile.py Add a note in the main test class' docstring that the order of execution of the tests is important. ----------------------------------- [http://svn.python.org/view?rev=61195&view=rev r61195] | brett.cannon | 2008-03-02 22:26:43 -0500 (Sun, 02 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_pep247.py Add a note in the main test class' docstring that the order of execution of the tests is important. ----------------------------------- [http://svn.python.org/view?rev=61198&view=rev r61198] | brett.cannon | 2008-03-02 23:19:29 -0500 (Sun, 02 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_al.py M /python/trunk/Lib/test/test_audioop.py M /python/trunk/Lib/test/test_cd.py M /python/trunk/Lib/test/test_cl.py M /python/trunk/Lib/test/test_dbm.py M /python/trunk/Lib/test/test_gl.py M /python/trunk/Lib/test/test_imageop.py M /python/trunk/Lib/test/test_imgfile.py M /python/trunk/Lib/test/test_sunaudiodev.py Add test_main() functions to various tests where it was simple to do. Done so that regrtest can execute the test_main() directly instead of relying on import side-effects. ----------------------------------- [http://svn.python.org/view?rev=61207&view=rev r61207] | christian.heimes | 2008-03-03 15:30:29 -0500 (Mon, 03 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_inspect.py 15 -> 16 ----------------------------------- [http://svn.python.org/view?rev=61210&view=rev r61210] | georg.brandl | 2008-03-03 15:39:00 -0500 (Mon, 03 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_inspect.py 15 -> 16, the 2nd ----------------------------------- [http://svn.python.org/view?rev=61242&view=rev r61242] | neal.norwitz | 2008-03-05 00:14:18 -0500 (Wed, 05 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_winsound.py Get this test to pass even when there is no sound card in the system. Patch from Trent Nelson. (I can't test this.) ----------------------------------- [http://svn.python.org/view?rev=61244&view=rev r61244] | neal.norwitz | 2008-03-05 00:38:06 -0500 (Wed, 05 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_smtplib.py Make the timeout longer to give slow machines a chance to pass the test before timing out. This doesn't change the duration of the test under normal circumstances. This is targetted at fixing the spurious failures on the FreeBSD buildbot primarily. ----------------------------------- [http://svn.python.org/view?rev=61248&view=rev r61248] | jeffrey.yasskin | 2008-03-05 01:19:56 -0500 (Wed, 05 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_socketserver.py Fix test_socketserver on Windows after [http://svn.python.org/view?rev=61099&view=rev r61099] added several signal.alarm() calls (which don't exist on non-Unix platforms). Thanks to Trent Nelson for the report and patch. ----------------------------------- [http://svn.python.org/view?rev=61285&view=rev r61285] | raymond.hettinger | 2008-03-06 15:52:01 -0500 (Thu, 06 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_itertools.py More tests. ----------------------------------- [http://svn.python.org/view?rev=61332&view=rev r61332] | neal.norwitz | 2008-03-09 15:03:42 -0400 (Sun, 09 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_ssl.py Introduce a lock to fix a race condition which caused an exception in the test. Some buildbots were consistently failing (e.g., amd64). Also remove a couple of semi-colons. ----------------------------------- [http://svn.python.org/view?rev=61382&view=rev r61382] | brett.cannon | 2008-03-14 10:03:10 -0400 (Fri, 14 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_gdbm.py Remove a bad test. ----------------------------------- [http://svn.python.org/view?rev=61495&view=rev r61495] | jeffrey.yasskin | 2008-03-18 00:56:06 -0400 (Tue, 18 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_thread.py Speed test_thread up from 51.328s to 0.081s by reducing its sleep times. We still sleep at all to make it likely that all threads are active at the same time. ----------------------------------- [http://svn.python.org/view?rev=61496&view=rev r61496] | jeffrey.yasskin | 2008-03-18 01:12:41 -0400 (Tue, 18 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_dict.py Speed up test_dict by about 10x by only checking selected dict literal sizes, instead of every integer from 0 to 400. Exhaustive testing wastes time without providing enough more assurance that the code is correct. ----------------------------------- [http://svn.python.org/view?rev=61498&view=rev r61498] | neal.norwitz | 2008-03-18 01:20:29 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_smtplib.py Try increasing the timeout to reduce the flakiness of this test. ----------------------------------- [http://svn.python.org/view?rev=61503&view=rev r61503] | brett.cannon | 2008-03-18 01:43:04 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_errno.py Improve the error message for a test that failed on the S-390 Debian buildbot. ----------------------------------- [http://svn.python.org/view?rev=61504&view=rev r61504] | jeffrey.yasskin | 2008-03-18 01:45:40 -0400 (Tue, 18 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/regrtest.py Add a -S/--slow flag to regrtest to have it print the 10 slowest tests with their times. ----------------------------------- [http://svn.python.org/view?rev=61507&view=rev r61507] | neal.norwitz | 2008-03-18 02:03:46 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_errno.py Add some info to the failure messages ----------------------------------- [http://svn.python.org/view?rev=61515&view=rev r61515] | martin.v.loewis | 2008-03-18 08:20:15 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_errno.py norwitz-amd64 (gentoo) has EREMOTEIO. ----------------------------------- [http://svn.python.org/view?rev=61516&view=rev r61516] | martin.v.loewis | 2008-03-18 08:45:37 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_errno.py Add more Linux error codes. ----------------------------------- [http://svn.python.org/view?rev=61517&view=rev r61517] | martin.v.loewis | 2008-03-18 09:05:03 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_errno.py Add WSA errors. ----------------------------------- [http://svn.python.org/view?rev=61518&view=rev r61518] | martin.v.loewis | 2008-03-18 09:16:05 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_parser.py Note that the stderr output of the test is intentional. ----------------------------------- [http://svn.python.org/view?rev=61524&view=rev r61524] | brett.cannon | 2008-03-18 11:52:00 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_errno.py Fix test_errno to only check for error numbers that are defined by Standard C. ----------------------------------- [http://svn.python.org/view?rev=61525&view=rev r61525] | steven.bethard | 2008-03-18 12:00:19 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_shelve.py Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix an occasional failure in Windows Vista.) ----------------------------------- [http://svn.python.org/view?rev=61532&view=rev r61532] | neal.norwitz | 2008-03-18 13:58:02 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/regrtest.py Get regrtest working when re-running tests ----------------------------------- [http://svn.python.org/view?rev=61539&view=rev r61539] | steven.bethard | 2008-03-18 15:04:32 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_winsound.py _have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that. ----------------------------------- [http://svn.python.org/view?rev=61556&view=rev r61556] | steven.bethard | 2008-03-18 15:59:14 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_atexit.py Fix test_atexit so that it still passes when -3 is supplied. (It was catching the warning messages on stdio from using the reload() function.) ----------------------------------- [http://svn.python.org/view?rev=61605&view=rev r61605] | martin.v.loewis | 2008-03-19 02:00:28 -0400 (Wed, 19 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_import.py Import relimport using a relative import. ----------------------------------- [http://svn.python.org/view?rev=61622&view=rev r61622] | eric.smith | 2008-03-19 08:09:55 -0400 (Wed, 19 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_print.py Use test.test_support.captured_stdout instead of a custom contextmanager. Thanks Nick Coghlan. ----------------------------------- [http://svn.python.org/view?rev=61623&view=rev r61623] | eric.smith | 2008-03-19 08:15:10 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_int_literal.py Trivial typo. ----------------------------------- [http://svn.python.org/view?rev=61650&view=rev r61650] | trent.nelson | 2008-03-19 18:51:42 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socketserver.py Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if it fixes the alarm failures in this test experienced by some of the buildbots. ----------------------------------- [http://svn.python.org/view?rev=61658&view=rev r61658] | trent.nelson | 2008-03-19 20:58:44 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socketserver.py Revert [http://svn.python.org/view?rev=61650&view=rev r61650]; the intent of this commit was to try and address alarm failures on some of the build slaves. As Neal points out, it's called after test_main(), so it's not going to factor into the test when run via regrtest.py (and removes the original functionality that Jeffrey wanted that would kill the test if it took longer than 3 seconds to run when executing it directly during development). ----------------------------------- [http://svn.python.org/view?rev=61665&view=rev r61665] | gregory.p.smith | 2008-03-20 01:41:53 -0400 (Thu, 20 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_fcntl.py M /python/trunk/Lib/test/test_ioctl.py Attempt to fix the Solaris Sparc 10 buildbot. It was failing with an invalid argument error on ioctl. This was caused by the added test_fcntl ioctl test that hard coded 0 as the fd to use. Without a terminal, this fails on solaris. (it passed from the command line on sol 10, both 32 and 64 bit) Also, test_ioctl exists so I moved the test into there where it belongs. ----------------------------------- [http://svn.python.org/view?rev=61687&view=rev r61687] | jeffrey.yasskin | 2008-03-21 01:02:44 -0400 (Fri, 21 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Speed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls. ----------------------------------- [http://svn.python.org/view?rev=61688&view=rev r61688] | jeffrey.yasskin | 2008-03-21 01:51:37 -0400 (Fri, 21 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Try to fix test_signal breakages on Linux due to [http://svn.python.org/view?rev=61687&view=rev r61687]. It appears that at least two of the linux build bots aren't leaving zombie processes around for os.waitpid to wait for, causing ECHILD errors. This would be a symptom of a bug somewhere, but probably not in signal itself. ----------------------------------- [http://svn.python.org/view?rev=61704&view=rev r61704] | jeffrey.yasskin | 2008-03-21 14:25:06 -0400 (Fri, 21 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Try to fix test_signal on FreeBSD. I'm assuming that os.kill is failing to raise a signal, but switching to subprocess makes the code cleaner anyway. ----------------------------------- [http://svn.python.org/view?rev=61705&view=rev r61705] | jeffrey.yasskin | 2008-03-21 14:48:04 -0400 (Fri, 21 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_threading.py Speed test_threading up from 14s to .5s, and avoid a deadlock on certain failures. The test for enumerate-after-join is now a little less rigorous, but the bug it references says the error happened in the first couple iterations, so 100 iterations should still be enough. cProfile was useful for identifying the slow tests here. ----------------------------------- [http://svn.python.org/view?rev=61731&view=rev r61731] | facundo.batista | 2008-03-21 22:45:37 -0400 (Fri, 21 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_decimal.py Small fix that complicated the test actually when that test failed. ----------------------------------- [http://svn.python.org/view?rev=61776&view=rev r61776] | neal.norwitz | 2008-03-22 23:43:33 -0400 (Sat, 22 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_timeout.py Try to make this test a little more robust and not fail with: timeout (10.0025) is more than 2 seconds more than expected (0.001) I'm assuming this problem is caused by DNS lookup. This change does a DNS lookup of the hostname before trying to connect, so the time is not included. ----------------------------------- [http://svn.python.org/view?rev=61777&view=rev r61777] | neal.norwitz | 2008-03-23 00:08:30 -0400 (Sun, 23 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_xmlrpc.py Speed up the test by avoiding socket timeouts. ----------------------------------- [http://svn.python.org/view?rev=61778&view=rev r61778] | neal.norwitz | 2008-03-23 00:43:09 -0400 (Sun, 23 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_epoll.py Skip the epoll test if epoll() does not work ----------------------------------- [http://svn.python.org/view?rev=61780&view=rev r61780] | neal.norwitz | 2008-03-23 01:47:20 -0400 (Sun, 23 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socket_ssl.py Suppress failure (to avoid a flaky test) if we cannot connect to svn.python.org ----------------------------------- [http://svn.python.org/view?rev=61782&view=rev r61782] | neal.norwitz | 2008-03-23 02:16:04 -0400 (Sun, 23 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socketserver.py Try to prevent the alarm going off early in tearDown ----------------------------------- [http://svn.python.org/view?rev=61863&view=rev r61863] | neal.norwitz | 2008-03-25 00:17:38 -0400 (Tue, 25 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_deque.py M /python/trunk/Lib/test/test_uu.py Fix a bunch of UnboundLocalErrors when the tests fail. ----------------------------------- [http://svn.python.org/view?rev=61869&view=rev r61869] | neal.norwitz | 2008-03-25 02:35:10 -0400 (Tue, 25 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_set.py Don't try to close a non-open file. Don't let file removal cause the test to fail. ----------------------------------- [http://svn.python.org/view?rev=61870&view=rev r61870] | neal.norwitz | 2008-03-25 03:00:39 -0400 (Tue, 25 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Try to get this test to be more stable: * disable gc during the test run because we are spawning objects and there was an exception when calling Popen.__del__ * Always set an alarm handler so the process doesn't exit if the test fails (should probably add assertions on the value of hndl_called in more places) * Using a negative time causes Linux to treat it as zero, so disable that test. ----------------------------------- [http://svn.python.org/view?rev=61922&view=rev r61922] | neal.norwitz | 2008-03-26 00:55:51 -0400 (Wed, 26 Mar 2008) | 6 lines Changed paths: M /python/trunk/Lib/test/test_timeout.py Try to get this test to be less flaky. It was failing sometimes because the connect would succeed before the timeout occurred. Try using an address and port that hopefully doesn't exist to ensure we get no response. If this doesn't work, we can use a public address close to python.org and hopefully that address never gets taken. ----------------------------------- [http://svn.python.org/view?rev=61923&view=rev r61923] | jerry.seutter | 2008-03-26 01:03:03 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_imaplib.py Changed test so it no longer runs as a side effect of importing. ----------------------------------- [http://svn.python.org/view?rev=61925&view=rev r61925] | jerry.seutter | 2008-03-26 01:32:51 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_format.py Changed test so it no longer runs as a side effect of importing. ----------------------------------- [http://svn.python.org/view?rev=61926&view=rev r61926] | jerry.seutter | 2008-03-26 01:58:14 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_ntpath.py Changed test so it no longer runs as a side effect of importing. ----------------------------------- [http://svn.python.org/view?rev=61978&view=rev r61978] | georg.brandl | 2008-03-27 09:34:59 -0400 (Thu, 27 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/outstanding_bugs.py The bug for which there was a test in outstanding_bugs.py was agreed not to be a bug. ----------------------------------- [http://svn.python.org/view?rev=61985&view=rev r61985] | neal.norwitz | 2008-03-28 00:41:34 -0400 (Fri, 28 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_telnetlib.py Allow use of other ports so the test can pass if 9091 is in use ----------------------------------- [http://svn.python.org/view?rev=61986&view=rev r61986] | jeffrey.yasskin | 2008-03-28 00:53:10 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_socket.py Print more information the next time test_socket throws the wrong exception. ----------------------------------- [http://svn.python.org/view?rev=61993&view=rev r61993] | neal.norwitz | 2008-03-28 02:34:03 -0400 (Fri, 28 Mar 2008) | 11 lines Changed paths: M /python/trunk/Lib/test/test_xmlrpc.py Bug 1503: Get the test to pass on OSX. This should make the test more reliable, but I'm not convinced it is the right solution. We need to determine if this causes the test to hang on any platforms or do other bad things. Even if it gets the test to pass reliably, it might be that we want to fix this in socket. The socket returned from accept() is different on different platforms (inheriting attributes or not) and we might want to ensure that the attributes (at least blocking) is the same across all platforms. ----------------------------------- [http://svn.python.org/view?rev=61997&view=rev r61997] | neal.norwitz | 2008-03-28 03:36:31 -0400 (Fri, 28 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_sax.py Name the main method correctly so the test is run ----------------------------------- [http://svn.python.org/view?rev=61998&view=rev r61998] | gregory.p.smith | 2008-03-28 04:00:44 -0400 (Fri, 28 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_urllib2_localnet.py M /python/trunk/Lib/test/test_urllib2net.py This patch moves some tests from test_urllib2_net to test_urllib2_localnet. The moved tests use a local server rather than going out to external servers. Accepts patch from issue2429. Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008. ----------------------------------- [http://svn.python.org/view?rev=62029&view=rev r62029] | amaury.forgeotdarc | 2008-03-28 21:42:31 -0400 (Fri, 28 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_logging.py Correctly call the base class tearDown(); otherwise running test_logging twice produce the errors we see on all buildbots ----------------------------------- [http://svn.python.org/view?rev=62038&view=rev r62038] | amaury.forgeotdarc | 2008-03-29 09:14:52 -0400 (Sat, 29 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/regrtest.py Now that Lib/test/output is gone, tests should not print anything, except in verbose mode. Support code is much simpler. ----------------------------------- [http://svn.python.org/view?rev=62040&view=rev r62040] | amaury.forgeotdarc | 2008-03-29 09:47:05 -0400 (Sat, 29 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_socket.py The buildbot "x86 W2k8 trunk" seems to hang in test_socket. http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0 Temporarily increase verbosity of this test. ----------------------------------- [http://svn.python.org/view?rev=62042&view=rev r62042] | amaury.forgeotdarc | 2008-03-29 10:53:05 -0400 (Sat, 29 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_socket.py Still investigating on the hanging test_socket. the test itself doesn't do anything on windows, focus on setUp and tearDown. ----------------------------------- [http://svn.python.org/view?rev=62048&view=rev r62048] | georg.brandl | 2008-03-30 02:53:55 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_ast.py Adapt test_ast to the new ExceptHandler type. ----------------------------------- [http://svn.python.org/view?rev=62050&view=rev r62050] | georg.brandl | 2008-03-30 03:09:22 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_ast.py Convert test_ast to unittest and add a test for [http://svn.python.org/view?rev=62049&view=rev r62049]. ----------------------------------- [http://svn.python.org/view?rev=62085&view=rev r62085] | neal.norwitz | 2008-04-01 01:40:43 -0400 (Tue, 01 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_mmap.py Be sure to close the file. 2 places were deleting the file, so it was probably fine, but the last change may be required for the test to pass on Windows. Should we always close the mmap too? ----------------------------------- [http://svn.python.org/view?rev=62090&view=rev r62090] | brett.cannon | 2008-04-01 08:37:43 -0400 (Tue, 01 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_support.py Generalize test.test_support.test_stdout() with a base context manager so that it is easy to capture stderr if desired. ----------------------------------- [http://svn.python.org/view?rev=62096&view=rev r62096] | amaury.forgeotdarc | 2008-04-01 18:52:48 -0400 (Tue, 01 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_io.py Newly enabled test appears to leak: it registers the same codec on each iteration. Do it only once at load time. ----------------------------------- [http://svn.python.org/view?rev=62100&view=rev r62100] | amaury.forgeotdarc | 2008-04-01 20:55:04 -0400 (Tue, 01 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_collections.py A DocTestSuite cannot run multiple times: it clears its globals dictionary after the first run. Rebuild the DocTestSuite on each iteration. ----------------------------------- [http://svn.python.org/view?rev=62102&view=rev r62102] | jeffrey.yasskin | 2008-04-02 00:07:44 -0400 (Wed, 02 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Try to make test_signal less flaky. I still see some flakiness in test_itimer_prof. ----------------------------------- [http://svn.python.org/view?rev=62113&view=rev r62113] | amaury.forgeotdarc | 2008-04-02 17:18:46 -0400 (Wed, 02 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_socket.py Remove debug prints; the buildbot now passes the tests ----------------------------------- [http://svn.python.org/view?rev=62141&view=rev r62141] | jeffrey.yasskin | 2008-04-04 00:51:19 -0400 (Fri, 04 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Doh! os.read() raises an OSError, not an IOError when it's interrupted. And fix some flakiness in test_itimer_prof, which could detect that the timer had reached 0 before the signal arrived announcing that fact. ----------------------------------- [http://svn.python.org/view?rev=62150&view=rev r62150] | jeffrey.yasskin | 2008-04-04 12:48:19 -0400 (Fri, 04 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Oops again. EINTR is in errno, not signal. ----------------------------------- [http://svn.python.org/view?rev=62152&view=rev r62152] | trent.nelson | 2008-04-04 13:26:21 -0400 (Fri, 04 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socket.py Issue 2550: extend test_socket.py to test SO_REUSEADDR semantics when bind() is called on identical (host, port) combinations in two separate sockets. This should raise an EADDRINUSE socket.error in all cases, irrespective of whether or not SO_REUSEADDR is set on the sockets. However, with Windows, when SO_REUSEADDR is set on the sockets, no error is thrown (an error is thrown when the option isn't set), which results in an extremely wedged python process whenever accept() is called on either of the bound sockets. I'm committing this test now to observe if it's only Windows that has this behaviour (via the buildbots). Note: this WILL break all Windows buildbots for now; once I've observed the results on other platforms, I'll revert, then start looking into a patch. ----------------------------------- [http://svn.python.org/view?rev=62156&view=rev r62156] | trent.nelson | 2008-04-04 16:04:09 -0400 (Fri, 04 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_socket.py Revert [http://svn.python.org/view?rev=62152&view=rev r62152] (Issue #2550). Being able to observe the results of all the buildbots was certainly useful. All of the platforms that have some form of BSD lineage -- FreeBSD, OS X, Solaris and Tru64 -- all pass the test. Windows and Linux, on the other hand, don't. Windows I knew about, Linux was a surprise. Knowing this, I believe a more appropriate fix will revolve around test_support.bind_socket() -- this method needs to return a port that nothing in the system has bound already. The best way to do this may just be to rely on ephemeral ports, rather than having the user specify a desired port, then fall back to four random ports, then try 0. ----------------------------------- [http://svn.python.org/view?rev=62194&view=rev r62194] | jeffrey.yasskin | 2008-04-06 19:04:28 -0400 (Sun, 06 Apr 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_signal.py Add enough debugging information to diagnose failures where the HandlerBException is ignored, and fix one such problem, where it was thrown during the __del__ method of the previous Popen object. We may want to find a better way of printing verbose information so it's not spammy when the test passes. ----------------------------------- [http://svn.python.org/view?rev=62237&view=rev r62237] | trent.nelson | 2008-04-08 20:34:53 -0400 (Tue, 08 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_httplib.py M /python/trunk/Lib/test/test_socket_ssl.py Fix typo with regards to self.PORT shadowing class variables with the same name. ----------------------------------- [http://svn.python.org/view?rev=62239&view=rev r62239] | jerry.seutter | 2008-04-09 01:07:58 -0400 (Wed, 09 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_sundry.py Changed test so it no longer runs as a side effect of importing. ----------------------------------- [http://svn.python.org/view?rev=62260&view=rev r62260] | gregory.p.smith | 2008-04-09 19:11:56 -0400 (Wed, 09 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_quopri.py better diagnostics ----------------------------------- [http://svn.python.org/view?rev=62266&view=rev r62266] | neal.norwitz | 2008-04-10 01:46:39 -0400 (Thu, 10 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_array.py M /python/trunk/Lib/test/test_deque.py M /python/trunk/Lib/test/test_gzip.py M /python/trunk/Lib/test/test_uu.py Remove the test file before writing it in case there is no write permission. This might help fix some of the failures on Windows box(es). It doesn't hurt either way and ensure the tests are a little more self contained (ie have less assumptions). ----------------------------------- [http://svn.python.org/view?rev=62313&view=rev r62313] | brett.cannon | 2008-04-12 22:42:36 -0400 (Sat, 12 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_warnings.py Fix test_warnings by making the state of things more consistent for each test when it is run. ----------------------------------- [http://svn.python.org/view?rev=62314&view=rev r62314] | skip.montanaro | 2008-04-12 23:17:30 -0400 (Sat, 12 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_support.py spelling ----------------------------------- [http://svn.python.org/view?rev=62323&view=rev r62323] | brett.cannon | 2008-04-13 13:09:43 -0400 (Sun, 13 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_warnings.py Add an explicit check for output in a test to try to diagnose a failure on Windows. ----------------------------------- [http://svn.python.org/view?rev=62324&view=rev r62324] | brett.cannon | 2008-04-13 13:41:31 -0400 (Sun, 13 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_warnings.py Fix spliting on colons on Windows machines with a file path by limiting the number of splits. ----------------------------------- [http://svn.python.org/view?rev=62381&view=rev r62381] | amaury.forgeotdarc | 2008-04-18 19:31:33 -0400 (Fri, 18 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/regrtest.py M /python/trunk/Lib/test/test_frozen.py M /python/trunk/Lib/test/test_pkg.py M /python/trunk/Lib/test/test_pkgutil.py M /python/trunk/Lib/test/test_profile.py M /python/trunk/Lib/test/test_structmembers.py M /python/trunk/Lib/test/test_warnings.py Some tests did not pass on repeated calls (regrtest -R::) Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry. ----------------------------------- [http://svn.python.org/view?rev=62412&view=rev r62412] | mark.dickinson | 2008-04-19 21:22:30 -0400 (Sat, 19 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_math.py Report additional diagnostic information in test_math, to help track down debian-alpha buildbot failure. ----------------------------------- [http://svn.python.org/view?rev=62421&view=rev r62421] | mark.dickinson | 2008-04-20 16:38:48 -0400 (Sun, 20 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_math.py Add test for tanh(-0.) == -0. on IEEE 754 systems ----------------------------------- [http://svn.python.org/view?rev=62423&view=rev r62423] | amaury.forgeotdarc | 2008-04-20 17:02:21 -0400 (Sun, 20 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_pkgutil.py Correct an apparent refleak in test_pkgutil: zipimport._zip_directory_cache contains info for all processed zip files, even when they are no longer used. ----------------------------------- [http://svn.python.org/view?rev=62425&view=rev r62425] | andrew.kuchling | 2008-04-20 21:45:57 -0400 (Sun, 20 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_xmlrpc.py Comment typo ----------------------------------- [http://svn.python.org/view?rev=62485&view=rev r62485] | amaury.forgeotdarc | 2008-04-24 16:10:26 -0400 (Thu, 24 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_trace.py Disable gc when running test_trace, or we may record the __del__ of collected objects. See http://mail.python.org/pipermail/python-checkins/2008-April/068633.html the extra events perfectly match several calls to socket._fileobject.__del__() ----------------------------------- [http://svn.python.org/view?rev=62487&view=rev r62487] | amaury.forgeotdarc | 2008-04-24 16:41:50 -0400 (Thu, 24 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py Use absolute import for test package ----------------------------------- [http://svn.python.org/view?rev=62507&view=rev r62507] | benjamin.peterson | 2008-04-25 17:43:56 -0400 (Fri, 25 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_import.py Allow test_import to work when it is invoked directly ----------------------------------- [http://svn.python.org/view?rev=62569&view=rev r62569] | amaury.forgeotdarc | 2008-04-28 17:07:06 -0400 (Mon, 28 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_sundry.py test_sundry performs minimal tests (a simple import...) on modules that are not tested otherwise. Some of them now have tests and can be removed. Only 70 to go... ----------------------------------- [http://svn.python.org/view?rev=62604&view=rev r62604] | benjamin.peterson | 2008-04-30 17:03:58 -0400 (Wed, 30 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_support.py make test_support's captured_output a bit more robust when exceptions happen ----------------------------------- [http://svn.python.org/view?rev=62680&view=rev r62680] | benjamin.peterson | 2008-05-03 17:35:18 -0400 (Sat, 03 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_builtin.py M /python/trunk/Lib/test/test_float.py A /python/trunk/Lib/test/test_int.py M /python/trunk/Lib/test/test_list.py M /python/trunk/Lib/test/test_long.py M /python/trunk/Lib/test/test_str.py M /python/trunk/Lib/test/test_tuple.py Moved testing of builtin types out of test_builtin and into type specific modules ----------------------------------- [http://svn.python.org/view?rev=62726&view=rev r62726] | martin.v.loewis | 2008-05-05 13:47:06 -0400 (Mon, 05 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_zipfile.py Fix Unicode filename test. ----------------------------------- [http://svn.python.org/view?rev=62728&view=rev r62728] | martin.v.loewis | 2008-05-05 13:54:01 -0400 (Mon, 05 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/regrtest.py Revert bogus checkin in [http://svn.python.org/view?rev=62724&view=rev r62724] to that file. ----------------------------------- [http://svn.python.org/view?rev=62792&view=rev r62792] | brett.cannon | 2008-05-06 19:22:02 -0400 (Tue, 06 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test___all__.py When testing a module's __all__, we really don't care if it is deprecated. ----------------------------------- [http://svn.python.org/view?rev=62799&view=rev r62799] | christian.heimes | 2008-05-06 19:42:58 -0400 (Tue, 06 May 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_subprocess.py Disabled some unit tests for the upcoming release. See #2777 ----------------------------------- [http://svn.python.org/view?rev=62975&view=rev r62975] | brett.cannon | 2008-05-09 22:54:52 -0400 (Fri, 09 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_support.py Suppress deprecations for packages as well when using test.test_support.import_module(). ----------------------------------- [http://svn.python.org/view?rev=62976&view=rev r62976] | brett.cannon | 2008-05-09 22:57:03 -0400 (Fri, 09 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test___all__.py Also ignore package deprecations. ----------------------------------- [http://svn.python.org/view?rev=63040&view=rev r63040] | alexandre.vassalotti | 2008-05-11 03:08:12 -0400 (Sun, 11 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_support.py Fixed typo in a comment of test_support.CleanImport. ----------------------------------- [http://svn.python.org/view?rev=63189&view=rev r63189] | amaury.forgeotdarc | 2008-05-12 18:21:39 -0400 (Mon, 12 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_pyclbr.py Adapt test_pyclbr to the new version of urllib.py: The new mac-specific functions must be ignored. ----------------------------------- [http://svn.python.org/view?rev=63218&view=rev r63218] | gregory.p.smith | 2008-05-14 00:27:01 -0400 (Wed, 14 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_bsddb3.py Enable the updated Lib/bsddb/test suite to run. ----------------------------------- [http://svn.python.org/view?rev=63220&view=rev r63220] | neal.norwitz | 2008-05-14 02:47:56 -0400 (Wed, 14 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_site.py Fix "refleak" by restoring the tearDown method removed by accident (AFAICT) in [http://svn.python.org/view?rev=62788&view=rev r62788]. ----------------------------------- [http://svn.python.org/view?rev=63221&view=rev r63221] | georg.brandl | 2008-05-14 03:18:22 -0400 (Wed, 14 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_warnings.py Fix another "refleak" by clearing the filters after test. ----------------------------------- [http://svn.python.org/view?rev=63327&view=rev r63327] | alexandre.vassalotti | 2008-05-15 16:31:42 -0400 (Thu, 15 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_genexps.py Fixed typo in a doctest of test_genexps. ----------------------------------- [http://svn.python.org/view?rev=63339&view=rev r63339] | brett.cannon | 2008-05-15 20:37:42 -0400 (Thu, 15 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_os.py Remove the last usage of statvfs in the stdlib. ----------------------------------- [http://svn.python.org/view?rev=63348&view=rev r63348] | benjamin.peterson | 2008-05-15 22:24:49 -0400 (Thu, 15 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_platform.py make test_platform a bit more assertive (We'll see what the buildbots say.) ----------------------------------- [http://svn.python.org/view?rev=63405&view=rev r63405] | gregory.p.smith | 2008-05-17 03:17:34 -0400 (Sat, 17 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_subprocess.py fix issue2381: test_subprocess fails if your sys.executable is on a path with a space in it. ----------------------------------- [http://svn.python.org/view?rev=63447&view=rev r63447] | georg.brandl | 2008-05-18 06:39:26 -0400 (Sun, 18 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_collections.py Take namedtuple item names only from ascii_letters (this blew up on OSX), and make sure there are no duplicate names. ----------------------------------- [http://svn.python.org/view?rev=63454&view=rev r63454] | georg.brandl | 2008-05-18 12:32:48 -0400 (Sun, 18 May 2008) | 2 lines Changed paths: A /python/trunk/Lib/test/pydoc_mod.py M /python/trunk/Lib/test/test_pydoc.py GHOP #121: improve test_pydoc, by Benjamin Peterson. ----------------------------------- [http://svn.python.org/view?rev=63459&view=rev r63459] | benjamin.peterson | 2008-05-18 16:48:07 -0400 (Sun, 18 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py bring test_pydoc up to my high standards (now that I have them) ----------------------------------- [http://svn.python.org/view?rev=63463&view=rev r63463] | georg.brandl | 2008-05-18 17:10:19 -0400 (Sun, 18 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_pyclbr.py Fix test_pyclbr after another platform-dependent function was added to urllib. ----------------------------------- [http://svn.python.org/view?rev=63464&view=rev r63464] | benjamin.peterson | 2008-05-18 18:07:42 -0400 (Sun, 18 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_platform.py fix test_platform (os was not imported) ----------------------------------- [http://svn.python.org/view?rev=63483&view=rev r63483] | georg.brandl | 2008-05-20 02:15:36 -0400 (Tue, 20 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_httpservers.py Activate two more test cases in test_httpservers. ----------------------------------- [http://svn.python.org/view?rev=63484&view=rev r63484] | georg.brandl | 2008-05-20 02:47:31 -0400 (Tue, 20 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_httpservers.py Argh, this is the *actual* test that works under Windows. ----------------------------------- [http://svn.python.org/view?rev=63495&view=rev r63495] | georg.brandl | 2008-05-20 03:58:42 -0400 (Tue, 20 May 2008) | 2 lines Changed paths: D /python/trunk/Lib/html M /python/trunk/Lib/test/test_htmlparser.py Remove html package and fix test_htmlparser. ----------------------------------- [http://svn.python.org/view?rev=63496&view=rev r63496] | georg.brandl | 2008-05-20 04:07:36 -0400 (Tue, 20 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py Improve diffing logic and output for test_pydoc. ----------------------------------- [http://svn.python.org/view?rev=63497&view=rev r63497] | georg.brandl | 2008-05-20 04:10:03 -0400 (Tue, 20 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py Use inspect.getabsfile() to get the documented module's filename. ----------------------------------- [http://svn.python.org/view?rev=63528&view=rev r63528] | benjamin.peterson | 2008-05-21 18:52:39 -0400 (Wed, 21 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_platform.py check for toolbox glue before testing platform.mac_ver intensly ----------------------------------- [http://svn.python.org/view?rev=63530&view=rev r63530] | benjamin.peterson | 2008-05-21 20:57:02 -0400 (Wed, 21 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_opcodes.py use more specific asserts in test_opcode ----------------------------------- [http://svn.python.org/view?rev=63540&view=rev r63540] | benjamin.peterson | 2008-05-22 19:09:26 -0400 (Thu, 22 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py fix test_pydoc so it works on make installed Python installations Also let it pass when invoked directly ----------------------------------- [http://svn.python.org/view?rev=63543&view=rev r63543] | mark.dickinson | 2008-05-22 22:36:48 -0400 (Thu, 22 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_math.py Add tests for math.sum (Issue #2819) ----------------------------------- [http://svn.python.org/view?rev=63544&view=rev r63544] | mark.dickinson | 2008-05-22 23:30:01 -0400 (Thu, 22 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_math.py Better error reporting in test_math.py ----------------------------------- [http://svn.python.org/view?rev=63553&view=rev r63553] | mark.dickinson | 2008-05-23 08:07:36 -0400 (Fri, 23 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_math.py Skip math.sum tests on non IEEE 754 platforms, and on IEEE 754 platforms that exhibit the problem described in issue #2937. ----------------------------------- [http://svn.python.org/view?rev=63576&view=rev r63576] | martin.v.loewis | 2008-05-24 05:36:45 -0400 (Sat, 24 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_ioctl.py Don't try to get the window size if it was never set before. Fixes the test failure on Solaris. ----------------------------------- [http://svn.python.org/view?rev=63698&view=rev r63698] | benjamin.peterson | 2008-05-26 12:22:27 -0400 (Mon, 26 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test___all__.py M /python/trunk/Lib/test/test_support.py add __all__ to test_support ----------------------------------- [http://svn.python.org/view?rev=63732&view=rev r63732] | benjamin.peterson | 2008-05-26 17:44:26 -0400 (Mon, 26 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/pydoc_mod.py remove duplication in test module ----------------------------------- [http://svn.python.org/view?rev=63802&view=rev r63802] | mark.dickinson | 2008-05-29 22:46:53 -0400 (Thu, 29 May 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_math.py Fix typo in testSum ----------------------------------- [http://svn.python.org/view?rev=63860&view=rev r63860] | georg.brandl | 2008-06-01 13:05:56 -0400 (Sun, 01 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_descrtut.py Fix test_descrtut. ----------------------------------- [http://svn.python.org/view?rev=63861&view=rev r63861] | robert.schuppenies | 2008-06-01 13:11:09 -0400 (Sun, 01 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_sys.py Fix test_sys. ----------------------------------- [http://svn.python.org/view?rev=63910&view=rev r63910] | benjamin.peterson | 2008-06-02 21:30:37 -0400 (Mon, 02 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_mutex.py make test_mutex more elegant ----------------------------------- [http://svn.python.org/view?rev=64012&view=rev r64012] | facundo.batista | 2008-06-07 09:36:36 -0400 (Sat, 07 Jun 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_urllib2net.py Finished bug #2451. Fixed the retrying part to make it more robust. ----------------------------------- [http://svn.python.org/view?rev=64095&view=rev r64095] | amaury.forgeotdarc | 2008-06-10 17:37:15 -0400 (Tue, 10 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_pydoc.py Correct test_pydoc for win32 platforms, to account for normalized URLs: C:\temp => file:///C|temp/ ----------------------------------- [http://svn.python.org/view?rev=64097&view=rev r64097] | benjamin.peterson | 2008-06-10 18:39:25 -0400 (Tue, 10 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_platform.py backport of 64096 ----------------------------------- [http://svn.python.org/view?rev=64102&view=rev r64102] | benjamin.peterson | 2008-06-10 21:31:28 -0400 (Tue, 10 Jun 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_struct.py convert test_struct to a unittest thanks to Giampaolo Rodola I had to disable one test because it was functioning incorrectly, see #1530559 I also removed the debugging prints ----------------------------------- [http://svn.python.org/view?rev=64120&view=rev r64120] | raymond.hettinger | 2008-06-11 09:14:50 -0400 (Wed, 11 Jun 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_heapq.py Add test for heapq using both __lt__ and __le__. ----------------------------------- [http://svn.python.org/view?rev=64165&view=rev r64165] | armin.rigo | 2008-06-12 05:50:58 -0400 (Thu, 12 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/crashers/loosing_mro_ref.py Sounds obvious, but I didn't even realize that you can put non-string keys in type dictionaries without using this locals() hack. ----------------------------------- [http://svn.python.org/view?rev=64221&view=rev r64221] | neal.norwitz | 2008-06-13 02:03:25 -0400 (Fri, 13 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_heapq.py Fix typo in method name. The LT class implemented less than. The LE class should implement less than or equal to (as the code does). ----------------------------------- [http://svn.python.org/view?rev=64280&view=rev r64280] | gregory.p.smith | 2008-06-14 13:34:09 -0400 (Sat, 14 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_struct.py silence the test when it is skipped on some platforms. should fix a buildbot. ----------------------------------- [http://svn.python.org/view?rev=64301&view=rev r64301] | georg.brandl | 2008-06-15 15:54:36 -0400 (Sun, 15 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_grammar.py Forward-port new test from [http://svn.python.org/view?rev=64300&view=rev r64300]. ----------------------------------- [http://svn.python.org/view?rev=64326&view=rev r64326] | robert.schuppenies | 2008-06-17 04:42:15 -0400 (Tue, 17 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_sys.py Issue 3048: Fixed sys.sizeof test fails with wide unicode. ----------------------------------- [http://svn.python.org/view?rev=64386&view=rev r64386] | amaury.forgeotdarc | 2008-06-18 17:18:27 -0400 (Wed, 18 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_socket_ssl.py The ssl certificate at https://sf.net is not valid. Switch to https://sourceforge.net ----------------------------------- [http://svn.python.org/view?rev=64408&view=rev r64408] | amaury.forgeotdarc | 2008-06-19 15:57:39 -0400 (Thu, 19 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/regrtest.py test_macos can be skipped on non-mac platforms. ----------------------------------- [http://svn.python.org/view?rev=64412&view=rev r64412] | amaury.forgeotdarc | 2008-06-19 17:17:12 -0400 (Thu, 19 Jun 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_site.py In test_site, correctly escape backslashes in path names. This allows the test to pass when the username begins with a lowercase 't'... ----------------------------------- [http://svn.python.org/view?rev=64413&view=rev r64413] | benjamin.peterson | 2008-06-19 17:39:06 -0400 (Thu, 19 Jun 2008) | 1 line Changed paths: M /python/trunk/Lib/test/regrtest.py M /python/trunk/Lib/test/test_macostools.py skip test_macostools when UCS4 is enabled ----------------------------------- [http://svn.python.org/view?rev=64456&view=rev r64456] | facundo.batista | 2008-06-22 12:11:34 -0400 (Sun, 22 Jun 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_posix.py Trying to see if the @ in a path is causing the issue in the shutil.rmtree() in the trunk.loewis-sun buildbot. ----------------------------------- [http://svn.python.org/view?rev=64462&view=rev r64462] | facundo.batista | 2008-06-22 14:23:55 -0400 (Sun, 22 Jun 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_posix.py Trying to see if the problem in Martin's buildot is at directory creation time... ----------------------------------- [http://svn.python.org/view?rev=64468&view=rev r64468] | facundo.batista | 2008-06-22 15:35:24 -0400 (Sun, 22 Jun 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_posix.py Just returning nothing instead of rising TestSkipped, because it makes the test fail in the trunk.loewis-sun buildbot. ----------------------------------- [http://svn.python.org/view?rev=64518&view=rev r64518] | robert.schuppenies | 2008-06-25 05:20:03 -0400 (Wed, 25 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_sys.py Issue 3147: Fixed SizeofTest failure for LLP64 systems. ----------------------------------- [http://svn.python.org/view?rev=64580&view=rev r64580] | bill.janssen | 2008-06-28 19:00:39 -0400 (Sat, 28 Jun 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_ssl.py make sure we close the active channels when eof is received on them ----------------------------------- [http://svn.python.org/view?rev=64582&view=rev r64582] | benjamin.peterson | 2008-06-28 19:06:05 -0400 (Sat, 28 Jun 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_audioop.py convert test_audioop to unittest. Thanks to Giampaolo Rodola. ----------------------------------- [http://svn.python.org/view?rev=64585&view=rev r64585] | benjamin.peterson | 2008-06-28 19:35:31 -0400 (Sat, 28 Jun 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_audioop.py fix typo ----------------------------------- [http://svn.python.org/view?rev=64673&view=rev r64673] | brett.cannon | 2008-07-02 17:40:11 -0400 (Wed, 02 Jul 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_cookielib.py FIx some Latin-1 characters to be UTF-8 as the file encoding specifies. Closes issue #3261. THankjs Leo Soto for the bug report. ----------------------------------- [http://svn.python.org/view?rev=64677&view=rev r64677] | brett.cannon | 2008-07-02 17:52:42 -0400 (Wed, 02 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_cookielib.py Revert [http://svn.python.org/view?rev=64673&view=rev r64673] and instead just change the file encoding. ----------------------------------- [http://svn.python.org/view?rev=64744&view=rev r64744] | georg.brandl | 2008-07-05 12:43:45 -0400 (Sat, 05 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/regrtest.py Keep below 80 chars. ----------------------------------- [http://svn.python.org/view?rev=64757&view=rev r64757] | benjamin.peterson | 2008-07-06 08:39:09 -0400 (Sun, 06 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_sys.py remove test_compact_freelists from test_sys ----------------------------------- [http://svn.python.org/view?rev=64885&view=rev r64885] | josiah.carlson | 2008-07-11 19:26:59 -0400 (Fri, 11 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_asyncore.py Fixed test for asyncore. ----------------------------------- [http://svn.python.org/view?rev=64945&view=rev r64945] | robert.schuppenies | 2008-07-14 04:42:18 -0400 (Mon, 14 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_sys.py Fixed test failure on Win64 machines. ----------------------------------- [http://svn.python.org/view?rev=64981&view=rev r64981] | mark.dickinson | 2008-07-15 17:55:23 -0400 (Tue, 15 Jul 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_float.py Fix float.from_hex tests. It appears that Linux/ia64 doesn't like computing 2.0**-1074 accurately. Using ldexp(1.0, -1074) should be safer. ----------------------------------- [http://svn.python.org/view?rev=65046&view=rev r65046] | georg.brandl | 2008-07-16 19:18:51 -0400 (Wed, 16 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_bytes.py Byte items *can* be chars in 2.6. ----------------------------------- [http://svn.python.org/view?rev=65059&view=rev r65059] | benjamin.peterson | 2008-07-17 08:57:22 -0400 (Thu, 17 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_threading.py try to fix test_threading on the Windows bot ----------------------------------- [http://svn.python.org/view?rev=65070&view=rev r65070] | bill.janssen | 2008-07-17 14:01:57 -0400 (Thu, 17 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_ssl.py catch socket.error errors in badCertTest ----------------------------------- [http://svn.python.org/view?rev=65093&view=rev r65093] | vinay.sajip | 2008-07-18 05:00:00 -0400 (Fri, 18 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_logging.py Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. ----------------------------------- [http://svn.python.org/view?rev=65097&view=rev r65097] | georg.brandl | 2008-07-18 06:20:59 -0400 (Fri, 18 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_support.py Remove duplicate entry in __all__. ----------------------------------- [http://svn.python.org/view?rev=65098&view=rev r65098] | georg.brandl | 2008-07-18 06:29:30 -0400 (Fri, 18 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_robotparser.py Correct attribute name. ----------------------------------- [http://svn.python.org/view?rev=65127&view=rev r65127] | raymond.hettinger | 2008-07-18 20:42:03 -0400 (Fri, 18 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_random.py Improve accuracy of gamma test function ----------------------------------- [http://svn.python.org/view?rev=65135&view=rev r65135] | georg.brandl | 2008-07-19 09:00:22 -0400 (Sat, 19 Jul 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/pystone.py #3319: don't raise ZeroDivisionError if number of rounds is so low that benchtime is zero. ----------------------------------- [http://svn.python.org/view?rev=65159&view=rev r65159] | neal.norwitz | 2008-07-20 16:39:36 -0400 (Sun, 20 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_audioop.py Fix misspeeld method name (negative) ----------------------------------- [http://svn.python.org/view?rev=65178&view=rev r65178] | benjamin.peterson | 2008-07-21 18:05:34 -0400 (Mon, 21 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_scope.py don't use assert statement ----------------------------------- [http://svn.python.org/view?rev=65192&view=rev r65192] | benjamin.peterson | 2008-07-22 19:44:37 -0400 (Tue, 22 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_support.py remove unneeded import ----------------------------------- [http://svn.python.org/view?rev=65244&view=rev r65244] | antoine.pitrou | 2008-07-26 06:29:43 -0400 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_locale.py try to fix most buildbot failures on test_locale + add a debug output for the solaris buildbot ----------------------------------- [http://svn.python.org/view?rev=65245&view=rev r65245] | antoine.pitrou | 2008-07-26 07:56:37 -0400 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_locale.py Fix more buildbot failures on test_locale. ----------------------------------- [http://svn.python.org/view?rev=65248&view=rev r65248] | antoine.pitrou | 2008-07-26 09:49:13 -0400 (Sat, 26 Jul 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_locale.py disable some failing tests in test_locale due to a bug in locale.py. this should fix the failures on the solaris buildbot. ----------------------------------- [http://svn.python.org/view?rev=65258&view=rev r65258] | mark.dickinson | 2008-07-27 03:15:29 -0400 (Sun, 27 Jul 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_math.py Remove math.sum tests related to overflow, special values, and behaviour near the extremes of the floating-point range. (The behaviour of math.sum should be regarded as undefined in these cases.) ----------------------------------- [http://svn.python.org/view?rev=65312&view=rev r65312] | benjamin.peterson | 2008-07-30 15:35:27 -0400 (Wed, 30 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/exception_hierarchy.txt add BufferError to the exception hieracrchy ----------------------------------- [http://svn.python.org/view?rev=65318&view=rev r65318] | benjamin.peterson | 2008-07-30 19:49:28 -0400 (Wed, 30 Jul 2008) | 1 line Changed paths: M /python/trunk/Lib/test/exception_hierarchy.txt I mess up again; BufferError inherits StandardError ----------------------------------- [http://svn.python.org/view?rev=65326&view=rev r65326] | mark.dickinson | 2008-07-31 10:48:32 -0400 (Thu, 31 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_math.py Rename testSum to testFsum and move it to proper place in test_math.py ----------------------------------- [http://svn.python.org/view?rev=65340&view=rev r65340] | amaury.forgeotdarc | 2008-07-31 17:35:03 -0400 (Thu, 31 Jul 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_exceptions.py Remove a dummy test that was checked in by mistake ----------------------------------- [http://svn.python.org/view?rev=65536&view=rev r65536] | andrew.kuchling | 2008-08-04 21:00:57 -0400 (Mon, 04 Aug 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_mailbox.py Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available ----------------------------------- [http://svn.python.org/view?rev=65733&view=rev r65733] | antoine.pitrou | 2008-08-16 20:36:03 -0400 (Sat, 16 Aug 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_ossaudiodev.py Make test_ossaudiodev work. ----------------------------------- [http://svn.python.org/view?rev=65768&view=rev r65768] | antoine.pitrou | 2008-08-17 10:43:41 -0400 (Sun, 17 Aug 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_os.py backport [http://svn.python.org/view?rev=65723&view=rev r65723]: strengthen test_os.test_closerange ----------------------------------- [http://svn.python.org/view?rev=65773&view=rev r65773] | antoine.pitrou | 2008-08-17 13:01:49 -0400 (Sun, 17 Aug 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_unicode.py #3556: test_raiseMemError consumes an insane amount of memory ----------------------------------- [http://svn.python.org/view?rev=65780&view=rev r65780] | antoine.pitrou | 2008-08-17 16:15:07 -0400 (Sun, 17 Aug 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_os.py #3580: fix a failure in test_os ----------------------------------- [http://svn.python.org/view?rev=65829&view=rev r65829] | benjamin.peterson | 2008-08-18 14:39:57 -0400 (Mon, 18 Aug 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_ssl.py fix old API names in test_ssl ----------------------------------- [http://svn.python.org/view?rev=65885&view=rev r65885] | benjamin.peterson | 2008-08-19 18:06:11 -0400 (Tue, 19 Aug 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_parser.py check that the parser module can handle the new keyword syntax ----------------------------------- [http://svn.python.org/view?rev=65917&view=rev r65917] | hirokazu.yamamoto | 2008-08-20 12:15:28 -0400 (Wed, 20 Aug 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_os.py Reverted [http://svn.python.org/view?rev=65900&view=rev r65900]. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html ----------------------------------- [http://svn.python.org/view?rev=65986&view=rev r65986] | mark.hammond | 2008-08-22 20:59:14 -0400 (Fri, 22 Aug 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_bytes.py M /python/trunk/Lib/test/test_list.py M /python/trunk/Lib/test/test_struct.py Fix bug 3625: test issues on 64bit windows. r=pitrou ----------------------------------- [http://svn.python.org/view?rev=66014&view=rev r66014] | georg.brandl | 2008-08-24 14:11:07 -0400 (Sun, 24 Aug 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_re.py #3654: fix duplicate test method name. Review by Benjamin P. ----------------------------------- [http://svn.python.org/view?rev=66028&view=rev r66028] | neal.norwitz | 2008-08-24 23:52:40 -0400 (Sun, 24 Aug 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_smtplib.py Try to reduce the flakiness of this test ----------------------------------- [http://svn.python.org/view?rev=66162&view=rev r66162] | hirokazu.yamamoto | 2008-09-02 16:36:44 -0400 (Tue, 02 Sep 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_asyncore.py Issue #3759: test_asyncore.py leaked handle. Reviewed by Amaury Forgeot d'Arc ----------------------------------- [http://svn.python.org/view?rev=66235&view=rev r66235] | antoine.pitrou | 2008-09-05 18:04:54 -0400 (Fri, 05 Sep 2008) | 6 lines Changed paths: M /python/trunk/Lib/test/test_unicode.py #3601: test_unicode.test_raiseMemError fails in UCS4 Reviewed by Benjamin Peterson on IRC. ----------------------------------- [http://svn.python.org/view?rev=66277&view=rev r66277] | benjamin.peterson | 2008-09-06 19:19:15 -0400 (Sat, 06 Sep 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_float.py fix missing module ----------------------------------- [http://svn.python.org/view?rev=66316&view=rev r66316] | hirokazu.yamamoto | 2008-09-08 19:03:47 -0400 (Mon, 08 Sep 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_os.py Issue #3804: Added test for Issue #2222. Reviewed by Benjamin Peterson. ----------------------------------- [http://svn.python.org/view?rev=66319&view=rev r66319] | hirokazu.yamamoto | 2008-09-08 19:38:42 -0400 (Mon, 08 Sep 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_imp.py Issue #3806: LockTests in test_imp should be skipped when thread is not available. Reviewed by Benjamin Peterson. ----------------------------------- [http://svn.python.org/view?rev=66367&view=rev r66367] | martin.v.loewis | 2008-09-10 14:43:49 -0400 (Wed, 10 Sep 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_normalization.py Update to test Unicode 5.1. ----------------------------------- [http://svn.python.org/view?rev=66369&view=rev r66369] | martin.v.loewis | 2008-09-10 15:16:35 -0400 (Wed, 10 Sep 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_normalization.py Read unidata_version from unicodedata module. Delete old NormalizationTest.txt if it doesn't match unidata_version. ----------------------------------- [http://svn.python.org/view?rev=66539&view=rev r66539] | hirokazu.yamamoto | 2008-09-21 07:44:23 -0400 (Sun, 21 Sep 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_tarfile.py Issue #3838: TarFile object assigned to self.tar should be closed explicitly. Reviewed by Lars Gust?\195?\164bel. ----------------------------------- [http://svn.python.org/view?rev=66569&view=rev r66569] | benjamin.peterson | 2008-09-23 16:43:09 -0400 (Tue, 23 Sep 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_atexit.py backport the atexit test for [http://svn.python.org/view?rev=66563&view=rev r66563] ----------------------------------- [http://svn.python.org/view?rev=66634&view=rev r66634] | benjamin.peterson | 2008-09-26 22:49:54 -0400 (Fri, 26 Sep 2008) | 7 lines Changed paths: M /python/trunk/Lib/test/test_ftplib.py give ftplib a real test suite A asyncore based mock ftp server is used to test the protocol. This is all thanks to Giampaolo Rodola #3939 (Barry gave me permission to do this before final on IRC.) ----------------------------------- [http://svn.python.org/view?rev=66673&view=rev r66673] | benjamin.peterson | 2008-09-28 16:57:21 -0400 (Sun, 28 Sep 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_ftplib.py merge in the fix for test_ftplib on some bots [reviewed by Georg] ----------------------------------- [http://svn.python.org/view?rev=66708&view=rev r66708] | andrew.macintyre | 2008-09-30 23:25:25 -0400 (Tue, 30 Sep 2008) | 9 lines Changed paths: M /python/trunk/Lib/test/test_array.py fix for issue 3862: test_array fails FreeBSD 7 amd64 FreeBSD 7's underlying malloc() is behaves differently to earlier versions and seriously overcommits available memory on amd64. This may affect other 64bit platforms in some circumstances, so the scale of the problematic test is wound back. Patch by Mark Dickinson, reviewed by Martin von Loewis.