Commit graph

8280 commits

Author SHA1 Message Date
Antoine Pitrou
5066b03361 Fix transmitting warning options to the children when running tests in
parallel (thanks Michael for pointing this).
2011-03-23 20:10:18 +01:00
R David Murray
3dcf745a61 Merge #11589: add additional tests for the email quoprimime module. 2011-03-23 14:29:49 -04:00
Mark Dickinson
7c9e803284 Issue #11244: Remove outdated peepholer check that was preventing the peepholer from folding -0 and -0.0. Thanks Eugene Toder for the patch. 2011-03-23 17:59:37 +00:00
Antoine Pitrou
c28af1f05f Use transient_internet() consistently in test_imaplib 2011-03-23 03:11:21 +01:00
Antoine Pitrou
924cbea467 Use transient_internet() consistently in test_imaplib 2011-03-23 03:10:14 +01:00
Éric Araujo
48049911d6 Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by Raymond. 2011-03-23 02:08:07 +01:00
Antoine Pitrou
36920354c7 Merge 2011-03-22 18:33:33 +01:00
Antoine Pitrou
8e5e942c59 Use shorter timings in test_concurrent_futures to make it a bit faster
(it's still very slow)
2011-03-22 18:30:30 +01:00
R David Murray
39bc38c39c Fix rename spelling error. 2011-03-21 17:36:15 -04:00
R David Murray
9aaba789b3 Correctly move email package tests to Lib/test. 2011-03-21 17:17:06 -04:00
R David Murray
661720e7f7 Make regrtest recognize test packages as well as test modules. 2011-03-21 15:14:34 -04:00
Antoine Pitrou
c107fb1b59 Always print out the traceback when a test "crashed" 2011-03-21 19:55:58 +01:00
Antoine Pitrou
779a5b0b3a Always print out the traceback when a test "crashed" 2011-03-21 19:55:16 +01:00
Antoine Pitrou
59cc6847a9 Try to make test_import a bit more robust 2011-03-21 19:05:18 +01:00
Antoine Pitrou
46719af05a Try to make test_import a bit more robust 2011-03-21 19:05:02 +01:00
Antoine Pitrou
732110ab39 Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:40 +01:00
Antoine Pitrou
60bf7e9e4d Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:01 +01:00
Victor Stinner
451385d8f8 Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
2011-03-21 03:22:50 +01:00
Victor Stinner
ee525de6a9 merge 2011-03-21 02:12:09 +01:00
Victor Stinner
13ed2ea7a2 Issue #10864 has been fixed: remove the workaround 2011-03-21 02:11:01 +01:00
Antoine Pitrou
25871dac00 Merge 2011-03-21 00:28:52 +01:00
Antoine Pitrou
03637052ec Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:27:45 +01:00
Antoine Pitrou
cb342182ee Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:26:51 +01:00
Antoine Pitrou
6d58d64919 Issue #11127: Raise a TypeError when trying to pickle a socket object. 2011-03-20 23:56:36 +01:00
Victor Stinner
b938bcd211 (merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:37:55 +01:00
Victor Stinner
e0daff1c61 Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:36:35 +01:00
Victor Stinner
6ae1e7f04e Issue #3080: imp.load_module() accepts None for the module path
imp.find_module() returns None as module path for builtin and frozen builtins.
2011-03-20 22:37:17 +01:00
Éric Araujo
6a1454f3a4 Use proper gettext plural forms in optparse (closes #4391).
Original patch by Dwayne Bailey.
2011-03-20 19:59:25 +01:00
Antoine Pitrou
ec60e31bad Merge 2011-03-20 17:42:55 +01:00
Antoine Pitrou
7903cb727e Merge 2011-03-20 17:36:26 +01:00
Antoine Pitrou
8189ab85e3 Call reap_children() where appropriate 2011-03-20 17:35:32 +01:00
Antoine Pitrou
68c9592d33 Call reap_children() at the end of test_posix 2011-03-20 17:33:57 +01:00
Ross Lagerwall
dedf6cf387 Issue #11615: Fix sporadic buildbot failures related to #10812. 2011-03-20 18:27:05 +02:00
Ezio Melotti
45763d0d12 Merge with 3.2. 2011-03-20 15:34:28 +02:00
Ezio Melotti
0123e055fa Add a check for sys.warnoptions in regrtest. 2011-03-20 15:09:26 +02:00
Senthil Kumaran
a7f43cc09c branch merge 3.2 2011-03-20 05:33:09 +08:00
Senthil Kumaran
acbaa923b8 Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
Address issue11609 - urllib related buildbots failure.
2011-03-20 05:30:16 +08:00
Antoine Pitrou
7b98d02302 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Senthil Kumaran
d91ffcafcb Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:25:27 +08:00
Nick Coghlan
b3c728fd89 Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
R David Murray
a88da67bcb #11578: add unit tests for timeit module.
Patch by Michael Henry.
2011-03-16 17:32:27 -04:00
Michael Foord
07926f024a Closes issue 11503. Improves test coverage of posixpath. 2011-03-16 17:19:16 -04:00
Nick Coghlan
7462fa654b Backport improved test coverage for string.py 2011-03-16 14:30:45 -04:00
Nick Coghlan
8ed3cf3a4b Close #11560: Improve test coverage of shutil 2011-03-16 14:05:35 -04:00
Nick Coghlan
abf202d798 Close #11548: Correctly handle format argument in shutil.unpack_archive 2011-03-16 13:52:20 -04:00
Ezio Melotti
3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Jesus Cea
cee3655568 Close issue #8600: test_gdb failures because innocuous warnings 2011-03-16 01:33:16 +01:00
Michael Foord
dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -04:00