Walter Dörwald
98c70acf47
Add tests for incremental codecs with an errors
...
argument.
2006-10-29 23:02:27 +00:00
Walter Dörwald
92911bfc6a
Add tests for basic argument errors.
2006-10-29 22:06:28 +00:00
Georg Brandl
7d00099021
Move the check for openpty to the beginning.
2006-10-29 21:54:18 +00:00
Georg Brandl
59ba4299d0
Remove leftover test output file.
2006-10-29 20:35:12 +00:00
Georg Brandl
cd97208110
Convert test_openpty to unittest.
2006-10-29 20:31:17 +00:00
Georg Brandl
e8328ba723
Convert test_MimeWriter to unittest.
2006-10-29 20:28:26 +00:00
Georg Brandl
71a2089712
Completely convert test_httplib to unittest.
2006-10-29 20:24:01 +00:00
Georg Brandl
e184433654
Convert test_cgi to unittest.
2006-10-29 20:09:12 +00:00
Georg Brandl
a962eb32d9
Convert test_cookie to unittest.
2006-10-29 19:51:16 +00:00
Georg Brandl
bd0fb14e51
Convert test_types to unittest.
2006-10-29 19:35:03 +00:00
Georg Brandl
850b2be67e
Convert test_nis to unittest.
2006-10-29 19:24:43 +00:00
Georg Brandl
eecce795a3
Convert test_poll to unittest.
2006-10-29 19:20:45 +00:00
Georg Brandl
3163179f1b
Convert test_mmap to unittest.
2006-10-29 19:13:40 +00:00
Georg Brandl
b9f4ad3a9a
Bug #1576657 : when setting a KeyError for a tuple key, make sure that
...
the tuple isn't used as the "exception arguments tuple".
2006-10-29 18:31:42 +00:00
Georg Brandl
7a4e804469
Bug #1586773 : extend hashlib docstring.
2006-10-29 18:01:08 +00:00
Georg Brandl
2c9838e30f
Bug #1586613 : fix zlib and bz2 codecs' incremental en/decoders.
2006-10-29 14:39:09 +00:00
Georg Brandl
5b4e1c2530
Fix the new EncodedFile test to work with big endian platforms.
2006-10-29 09:32:16 +00:00
Georg Brandl
facd273198
Test assert if __debug__ is true.
2006-10-29 09:18:00 +00:00
Georg Brandl
3354f285b9
Patch #1583880 : fix tarfile's problems with long names and posix/
...
GNU modes.
2006-10-29 09:16:12 +00:00
Georg Brandl
6c0e1e8673
Bug #1357915 : allow all sequence types for shell arguments in
...
subprocess.
2006-10-29 09:05:04 +00:00
Georg Brandl
fe9c71bcd3
Remove trailing comma.
2006-10-29 09:01:01 +00:00
Georg Brandl
5addf70078
Bug #1586448 : the compiler module now emits the same bytecode for
...
list comprehensions as the builtin compiler, using the LIST_APPEND
opcode.
2006-10-29 08:53:06 +00:00
Georg Brandl
8f99f81dfc
Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
...
fix all codecs file wrappers to work correctly with the "with"
statement (bug #1586513 ).
2006-10-29 08:39:22 +00:00
Neal Norwitz
07fdcfd6c9
Fix test_modulefinder so it doesn't fail when run after test_distutils.
2006-10-28 21:56:49 +00:00
Neal Norwitz
21997afb0c
Fix bug #1565514 , SystemError not raised on too many nested blocks.
...
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
Will backport.
2006-10-28 21:19:07 +00:00
Georg Brandl
b21e0815bf
make test_grammar pass with python -O
2006-10-28 20:25:09 +00:00
Georg Brandl
0b679629c6
Convert test_opcodes to unittest.
2006-10-28 13:56:58 +00:00
Georg Brandl
2f03760a98
Convert test_math to unittest.
2006-10-28 13:51:49 +00:00
Georg Brandl
856b446793
Update outstanding bugs test file.
2006-10-28 13:11:41 +00:00
Georg Brandl
c6fdec6d7e
Convert test_global, test_scope and test_grammar to unittest.
...
I tried to enclose all tests which must be run at the toplevel
(instead of inside a method) in exec statements.
2006-10-28 13:10:17 +00:00
Walter Dörwald
3a3d8ea497
Port test_bufio to unittest.
2006-10-28 10:47:12 +00:00
Thomas Heller
112d1a64ac
Modulefinder now handles absolute and relative imports, including
...
tests.
Will backport to release25-maint.
2006-10-27 19:05:53 +00:00
Thomas Heller
df08f0b9a0
WindowsError.str should display the windows error code,
...
not the posix error code; with test.
Fixes #1576174 .
Will backport to release25-maint.
2006-10-27 18:31:36 +00:00
Andrew M. Kuchling
872dba4253
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
...
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
2006-10-27 17:11:23 +00:00
Andrew M. Kuchling
6d72b0e1f8
Clarify docstring
2006-10-27 17:06:16 +00:00
Andrew M. Kuchling
0f87183cf5
[Bug #1575506 ] The _singlefileMailbox class was using the wrong file object in its flush() method, causing an error
2006-10-27 16:55:34 +00:00
Andrew M. Kuchling
41eb7164df
[Bug #1576241 ] Let functools.wraps work with built-in functions
2006-10-27 16:39:10 +00:00
Martin v. Löwis
ee82c0e6b7
Patch #1567274 : Support SMTP over TLS.
2006-10-27 07:13:28 +00:00
Martin v. Löwis
b5bc537c5e
Patch #1549049 : Rewrite type conversion in structmember.
...
Fixes #1545696 and #1566140 . Will backport to 2.5.
2006-10-27 06:16:31 +00:00
Andrew M. Kuchling
efb57072fe
Typo fix
2006-10-26 19:16:46 +00:00
Georg Brandl
a32e0a099b
Patch [ 1583506 ] tarfile.py: 100-char filenames are truncated
2006-10-24 16:54:16 +00:00
Martin v. Löwis
e97c759660
Remove passwd.adjunct.byname from list of maps
...
for test_nis. Will backport to 2.5.
2006-10-22 13:45:13 +00:00
Walter Dörwald
d3973b578f
Port test___future__ to unittest.
2006-10-22 08:59:41 +00:00
Tim Peters
ef3f32f965
Whitespace normalization.
2006-10-18 05:09:12 +00:00
Thomas Heller
d2ea4a2584
ctypes callback functions only support 'fundamental' result types.
...
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #1574584 .
Will backport to release25-maint.
2006-10-17 19:30:48 +00:00
Brett Cannon
d80e0c8677
Fix turtle so that you can launch the demo2 function on its own instead of only
...
when the module is launched as a script.
2006-10-16 03:09:52 +00:00
Martin v. Löwis
a97e06d9db
Round to int, because some systems support sub-second time stamps in stat, but not in utime.
...
Also be consistent with modifying only mtime, not atime.
2006-10-15 11:02:07 +00:00
Martin v. Löwis
cfcd3a9569
Loosen the test for equal time stamps.
2006-10-15 09:35:51 +00:00
Martin v. Löwis
18aaa568fd
Patch #1576166 : Support os.utime for directories on Windows NT+.
2006-10-15 08:43:33 +00:00
Neal Norwitz
cbeb687c68
Update the peephole optimizer to remove more dead code (jumps after returns)
...
and inline jumps to returns.
2006-10-14 21:33:38 +00:00