Guido van Rossum
de59855da6
Mark Hammond: test suite for new winreg module.
2000-03-28 20:36:51 +00:00
Guido van Rossum
24bdb0474f
Marc-Andre Lemburg:
...
The attached patch set includes a workaround to get Python with
Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause
is a bug in the BSDI wchar.h header file) and Python interfaces
for the MBCS codec donated by Mark Hammond.
Also included are some minor corrections w/r to the docs of
the new "es" and "es#" parser markers (use PyMem_Free() instead
of free(); thanks to Mark Hammond for finding these).
The unicodedata tests are now in a separate file
(test_unicodedata.py) to avoid problems if the module cannot
be found.
2000-03-28 20:29:59 +00:00
Guido van Rossum
d8855fde88
Marc-Andre Lemburg:
...
Attached you find the latest update of the Unicode implementation.
The patch is against the current CVS version.
It includes the fix I posted yesterday for the core dump problem
in codecs.c (was introduced by my previous patch set -- sorry),
adds more tests for the codecs and two new parser markers
"es" and "es#".
2000-03-24 22:14:19 +00:00
Guido van Rossum
7e57bc4a5b
Fix the test so that connect() and bind() are called with a single
...
argument: a (host, port) tuple.
Like multi-arg append(), multi-arg connect() and bind() may be ruled out!
2000-03-24 20:54:29 +00:00
Guido van Rossum
d8fbcc95d9
Regenerated with test for 'contains'.
2000-03-24 20:42:39 +00:00
Barry Warsaw
51ac58039f
On 17-Mar-2000, Marc-Andre Lemburg said:
...
Attached you find an update of the Unicode implementation.
The patch is against the current CVS version. I would appreciate
if someone with CVS checkin permissions could check the changes
in.
The patch contains all bugs and patches sent this week and also
fixes a leak in the codecs code and a bug in the free list code
for Unicode objects (which only shows up when compiling Python
with Py_DEBUG; thanks to MarkH for spotting this one).
2000-03-20 16:36:48 +00:00
Guido van Rossum
d4d2684240
Marc-Andre Lemburg: Add tests for mixed use of char in string.
2000-03-13 23:21:48 +00:00
Guido van Rossum
a831cac7a8
Marc-Andre Lemburg: test script for Unicode implementation.
2000-03-10 23:23:21 +00:00
Guido van Rossum
da2361ac1d
Add tests for char in string -- including required exceptions for
...
non-char in string.
2000-03-07 15:52:01 +00:00
Guido van Rossum
7344741117
test_contains output
2000-03-06 21:08:08 +00:00
Guido van Rossum
24512e6a35
Test cases for __contains__ code, by Moshe Zadka.
2000-03-06 21:00:29 +00:00
Guido van Rossum
f7221c3a7d
Test case for fork1() behavior.
...
Only the main thread should survive in the child after a fork().
2000-02-25 19:25:05 +00:00
Andrew M. Kuchling
5ebfa2ae9f
Add tests to exercise sequence operations (multiplication, indexing,
...
slicing) using long integers
2000-02-23 22:23:17 +00:00
Guido van Rossum
cba04366a4
Added test for new crc32() function.
2000-02-16 21:13:06 +00:00
Fred Drake
ad892dc80d
Make this pass the -tt test.
2000-02-10 15:31:07 +00:00
Fred Drake
a710d6e20c
Added test case for accessing gsbm database by key after it's closed;
...
it should raise gdbm.error.
2000-02-07 17:15:48 +00:00
Fred Drake
db1bd5c230
Revise tests to support str(<long int object>) not appending "L".
1999-12-23 15:36:42 +00:00
Guido van Rossum
910d9a0634
Test output.
...
(XXX perhaps a bit too verbose; in particular it is sensitive to
all the doc strings.)
1999-10-19 19:09:00 +00:00
Guido van Rossum
fdecda0123
Rewritten -- this now tests the binascii *except* for the binhex
...
module, which is tested by test_binhex.py.
1999-10-19 19:08:13 +00:00
Guido van Rossum
a0e85b241d
Test output for test_binhex.py.
1999-10-19 19:07:33 +00:00
Guido van Rossum
7b8f1abfca
This test really only tests the binhex module.
...
Renamed it and adapted a comment and an error message.
1999-10-19 17:48:54 +00:00
Guido van Rossum
ba508a21e0
Add test case for bug just fixed by Stephen Turner.
1999-07-13 15:23:42 +00:00
Barry Warsaw
7c5b9d1fa9
added a test for "To: :" patch
1999-07-12 18:47:00 +00:00
Guido van Rossum
47ac4e6b41
Add the test case provided by Barry Scott for his patch.
1999-06-15 18:56:46 +00:00
Barry Warsaw
6e1d78a181
Added a couple of endswith test cases for bugs reported by Timbot.
...
Also added a short circuit for the regression test suite since CVS
insisted on putting this file in the main branch. :(
1999-06-15 16:49:11 +00:00
Barry Warsaw
d5258681e7
Added more tests of join
1999-06-14 18:38:42 +00:00
Barry Warsaw
122473fc70
Two extra startswith tests
1999-06-11 17:51:13 +00:00
Barry Warsaw
8a9514a660
Harness can now test object methods directly, if they aren't available
...
in the string module.
Add a bunch of new tests for extended startswith/endswith arguments.
1999-06-11 17:48:07 +00:00
Barry Warsaw
4afdb0a89a
Output for the regression test of the new string methods.
1999-06-10 22:53:23 +00:00
Barry Warsaw
50f0e16d1b
Regression test for the new string methods.
1999-06-10 22:53:10 +00:00
Guido van Rossum
3ed1be9fbd
Regression test for date format code, by Mike Meyer.
...
(I tweaked it slightly so examples are allowed to have no date too.)
1999-05-03 19:57:01 +00:00
Fred Drake
5712fa9250
Added test case that includes a comma in the full name. This tests
...
for an old bug that's been gone a while, but was still documented
until a few minutes from now.
1999-04-28 17:38:31 +00:00
Guido van Rossum
0cf46bc0f4
Daniel Neri: OpenBSD is just as BSD'ish as the other BSD's ;-)
1999-04-19 17:22:12 +00:00
Guido van Rossum
0b7dd08d50
# Bah. The same problem occurred a second time.
1999-04-08 20:22:46 +00:00
Guido van Rossum
9b112799bc
On Windows, we suddenly find, strftime() may return "" for an
...
unsupported format string. (I guess this is because the logic for
deciding whether to reallocate the buffer or not has been improved.)
This caused the test code to crash on result[0]. Fix this by assuming
an empty result also means the format is not supported.
1999-04-08 17:23:11 +00:00
Guido van Rossum
052364b20b
Use binary mode for all gzip files we open.
1999-04-07 19:00:58 +00:00
Guido van Rossum
630a9a6894
Fix the tests now that splitdrive() no longer treats UNC paths special.
...
(Some tests converted to splitunc() tests.)
1999-04-06 19:38:18 +00:00
Guido van Rossum
8ff764f113
Jonathan Giddy write:
...
In test_cpickle.py, the module os got imported, but the line to remove
the temp file has gone missing.
1999-04-01 15:32:30 +00:00
Guido van Rossum
89ae2b9f07
Test protection against picling to/from closed (real) file.
1999-03-29 19:59:32 +00:00
Guido van Rossum
8e702d4e8e
Jonathan Giddy discovered this file was missing.
1999-03-29 15:28:54 +00:00
Guido van Rossum
447b4a0652
Test suite for UserList.
1999-03-26 16:20:45 +00:00
Guido van Rossum
3eccc48b5b
Test suite for UserDict
1999-03-26 15:32:05 +00:00
Guido van Rossum
aa3828aa35
Basic regr tests for pickle/cPickle
1999-03-25 22:38:49 +00:00
Andrew M. Kuchling
605ebddbea
Added a simple test suite for gzip. It simply opens a temp file,
...
writes a chunk of compressed data, closes it, writes another chunk, and
reads the contents back to verify that they are the same.
1999-03-25 21:50:27 +00:00
Guido van Rossum
52a0d7d802
Add tests for float() and complex() with string args (Nick/Stephanie
...
Lockwood).
1999-03-25 21:25:01 +00:00
Guido van Rossum
a6386ce1eb
Added Jeremy's test code for the sha module.
1999-03-24 19:04:32 +00:00
Guido van Rossum
4ec2698725
Remove the temp file when we're done.
1999-03-24 19:03:01 +00:00
Andrew M. Kuchling
dca7e00fd5
Added simple test for the flush() method of compression objects, trying the
...
different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH.
1999-03-22 19:23:17 +00:00
Guido van Rossum
59e4f37d76
Test for popen2 module, by Chris Tismer.
1999-03-11 13:26:23 +00:00
Guido van Rossum
74ee886409
1. Print the error message (carefully) when a dl.open() fails in verbose mode.
...
2. When no test case worked, raise ImportError instead of failing.
1999-02-23 17:58:48 +00:00