Commit graph

6642 commits

Author SHA1 Message Date
Alexander Belopolsky
a847c81914 This should fix buildbot failure introduced by r84994 2010-09-24 22:04:22 +00:00
Antoine Pitrou
a4024e2dd5 Make _kill_process more robust under Windows too (see issue #8432) 2010-09-24 18:57:01 +00:00
Alexander Belopolsky
ff09ce211f Issue #9936: Fixed executable lines' search in the trace module. 2010-09-24 18:03:12 +00:00
Brian Curtin
0151b8edda LoginTests fails on a number of buildbots with different errors. Skip
it for now until a buildbot-safe solution comes up.
2010-09-24 13:43:43 +00:00
Antoine Pitrou
605c293031 Further tarfile / test_tarfile cleanup 2010-09-23 20:15:14 +00:00
Mark Dickinson
b09a3d69a6 Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;
this was causing reversed method calls like float.__radd__(3.0, 1) to
return NotImplemented instead of the expected numeric value.
2010-09-23 20:11:19 +00:00
Brian Curtin
e8e4b3bfd6 #9808. Implement os.getlogin for Windows, completed by Jon Anglin.
The test is semi-dumb, it just makes sure something comes back since we
don't have a solid source to validate the returned login. We can't be 100%
sure that the USERNAME env var will always match what os.getlogin() returns,
so we don't make any specific assertion there.
2010-09-23 20:04:14 +00:00
Antoine Pitrou
ab58b5f90e Try harder to fix test_tarfile under Windows buildbots 2010-09-23 19:39:35 +00:00
Antoine Pitrou
95f5560b46 Try to fix test_tarfile issues on Windows buildbots by closing file
objects explicitly instead of letting them linger on.
2010-09-23 18:36:46 +00:00
Antoine Pitrou
7b9698435d Issue #1675951: Allow GzipFile to work with unseekable file objects.
Patch by Florian Festi.
2010-09-23 16:22:51 +00:00
Hirokazu Yamamoto
dda7fdf194 Skip estLoadWithUNC when UNC is not available. 2010-09-23 15:28:35 +00:00
Hirokazu Yamamoto
b3b390d7b3 Issue #9868: locale was left changed after TestEnUSCollation#setUp raised
TestSkip exception.
2010-09-23 15:20:15 +00:00
Florent Xicluna
d12a420acc Fix encoding for test case added in r84967. 2010-09-23 00:46:13 +00:00
Florent Xicluna
42d544505f Fix typo and add test case. 2010-09-22 22:35:38 +00:00
Barry Warsaw
31c604d3a7 Issue 9916: Add some missing errno symbols. 2010-09-22 20:58:04 +00:00
Daniel Stutzbach
c944cfc793 Issue9131: Mark fragile test as CPython-specific 2010-09-21 21:08:09 +00:00
Antoine Pitrou
38425292fb Issue #9908: Fix os.stat() on bytes paths under Windows 7. 2010-09-21 18:19:07 +00:00
Alexander Belopolsky
3e62f78c4e Fixed microsecond rounding in python version of utcfromtimestamp 2010-09-21 16:30:56 +00:00
Vinay Sajip
c84f016988 Added some methods to LoggerAdapter, and updated documentation. 2010-09-21 11:25:39 +00:00
Benjamin Peterson
26d64aeee4 rewrite nocaret test to not rely on a specific SyntaxError 2010-09-20 21:47:37 +00:00
Barry Warsaw
0646b4bb77 test_get_makefile_filename() is not compatible with Windows. 2010-09-20 19:12:07 +00:00
Barry Warsaw
ebbef6fef2 Issue 9877: expose sysconfig.get_makefile_filename() in the public API. 2010-09-20 15:29:53 +00:00
Vinay Sajip
b4a0809ad7 logging: Add hasHandlers() method to Logger. 2010-09-20 09:55:00 +00:00
Antoine Pitrou
3d8580f690 Try a more robust implementation of _kill_process 2010-09-20 01:33:21 +00:00
Antoine Pitrou
84e751a442 Try to fix buildbot failure (#9902) 2010-09-20 00:12:19 +00:00
Antoine Pitrou
7c08744f52 Make error more explicit in test_finalize_with_trace 2010-09-19 23:28:30 +00:00
Antoine Pitrou
fedd481596 Try to make signal-sending tests in test_subprocess more robust on slow machines 2010-09-19 23:06:53 +00:00
Antoine Pitrou
fb8db8f635 Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot 2010-09-19 22:46:05 +00:00
Florent Xicluna
eb19dce085 Issue #1686: Fix string.Template when overriding the pattern attribute. 2010-09-18 23:34:07 +00:00
Antoine Pitrou
98b46702d2 Issue #9854: SocketIO objects now observe the RawIOBase interface in
non-blocking mode: they return None when an operation would block (instead
of raising an exception).
2010-09-18 22:59:00 +00:00
Antoine Pitrou
8db3027e6a Issue #9895: speed up test_subprocess 2010-09-18 22:38:48 +00:00
Brian Quinlan
81c4d36928 Initial implementation of PEP 3148 2010-09-18 22:35:02 +00:00
Antoine Pitrou
679e0f2328 Issue #9894: Do not hardcode ENOENT in test_subprocess.
(GNU/Hurd is not dead)
2010-09-18 17:56:02 +00:00
Hirokazu Yamamoto
f2dec8d6f1 In Python3000, Tkinter was renamed to tkinter. And print is now function. 2010-09-18 04:42:41 +00:00
Hirokazu Yamamoto
2cdacd7495 Added missing BaseTest.tearDown(self). Fixed refleak. 2010-09-18 03:54:32 +00:00
Vinay Sajip
bc85d848f5 Temporarily commented out test which succeeds locally but fails on buildbots, while investigating. 2010-09-17 23:35:29 +00:00
Vinay Sajip
19ec67acf6 Issue #9441: logging: Improved test coverage for rotating file handlers. 2010-09-17 18:57:36 +00:00
Raymond Hettinger
35c87f2b8e Issue 9865: add __sizeof__ to OrderedDict. 2010-09-16 19:10:17 +00:00
Antoine Pitrou
aee47561fc Relax test condition (fix failures on FreeBSD buildbots) 2010-09-16 15:04:49 +00:00
Antoine Pitrou
2e55fec14c Make testDefaults in test.test_socket.BasicSocketPairTest more reliable. 2010-09-14 21:24:25 +00:00
Antoine Pitrou
328ec7455f Issue #9854: The default read() implementation in io.RawIOBase now
handles non-blocking readinto() returning None correctly.
2010-09-14 18:37:24 +00:00
Antoine Pitrou
9e0b864ac0 Issue #1552: socket.socketpair() now returns regular socket.socket
objects supporting the whole socket API (rather than the "raw"
_socket.socket objects).
2010-09-14 18:00:02 +00:00
Antoine Pitrou
a468adc76d Issue #9853: Fix the signature of SSLSocket.recvfrom() and
SSLSocket.sendto() to match the corresponding socket methods.
2010-09-14 14:43:44 +00:00
Antoine Pitrou
2ed94eb520 Do not print additional shutdown message when gc.DEBUG_SAVEALL is set 2010-09-14 09:48:39 +00:00
Vinay Sajip
8552d1fc8f Added test for QueueHandler. 2010-09-14 09:34:09 +00:00
Alexander Belopolsky
e1b6a9ac99 Added files missed in r84780. Thanks, Florent. 2010-09-14 01:11:35 +00:00
Raymond Hettinger
98a5f3f838 Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods. 2010-09-13 21:36:00 +00:00
Daniel Stutzbach
9f0cbf1c72 Issue #9213: Add index and count methods to range objects, needed to
meet the API of the collections.Sequence ABC.
2010-09-13 21:16:29 +00:00
Eric Smith
e4d6317c87 Issue 7994: Make object.__format__() raise a PendingDeprecationWarning
if the format string is not empty. Manually merge r79596 and r84772
from 2.x.

Also, apparently test_format() from test_builtin never made it into
3.x. I've added it as well. It tests the basic format()
infrastructure.
2010-09-13 20:48:43 +00:00
Alexander Belopolsky
d8642c3274 Removed debugging setting 2010-09-13 18:15:33 +00:00