summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Regression test for date format code, by Mike Meyer.Guido van Rossum1999-05-031-0/+21
| | | | (I tweaked it slightly so examples are allowed to have no date too.)
* Added test case that includes a comma in the full name. This testsFred Drake1999-04-281-0/+7
| | | | | for an old bug that's been gone a while, but was still documented until a few minutes from now.
* Daniel Neri: OpenBSD is just as BSD'ish as the other BSD's ;-)Guido van Rossum1999-04-191-1/+2
|
* # Bah. The same problem occurred a second time.Guido van Rossum1999-04-081-1/+1
|
* On Windows, we suddenly find, strftime() may return "" for anGuido van Rossum1999-04-081-1/+1
| | | | | | | 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.
* Use binary mode for all gzip files we open.Guido van Rossum1999-04-071-4/+4
|
* Fix the tests now that splitdrive() no longer treats UNC paths special.Guido van Rossum1999-04-061-4/+4
| | | | (Some tests converted to splitunc() tests.)
* Jonathan Giddy write:Guido van Rossum1999-04-011-0/+1
| | | | | In test_cpickle.py, the module os got imported, but the line to remove the temp file has gone missing.
* Test protection against picling to/from closed (real) file.Guido van Rossum1999-03-291-0/+20
|
* Jonathan Giddy discovered this file was missing.Guido van Rossum1999-03-291-0/+1
|
* Test suite for UserList.Guido van Rossum1999-03-262-0/+177
|
* Test suite for UserDictGuido van Rossum1999-03-262-0/+102
|
* Basic regr tests for pickle/cPickleGuido van Rossum1999-03-254-0/+172
|
* Added a simple test suite for gzip. It simply opens a temp file,Andrew M. Kuchling1999-03-251-0/+30
| | | | | writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same.
* Add tests for float() and complex() with string args (Nick/StephanieGuido van Rossum1999-03-251-0/+2
| | | | Lockwood).
* Added Jeremy's test code for the sha module.Guido van Rossum1999-03-242-0/+32
|
* Remove the temp file when we're done.Guido van Rossum1999-03-241-1/+6
|
* Added simple test for the flush() method of compression objects, trying theAndrew M. Kuchling1999-03-221-0/+13
| | | | different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH.
* Test for popen2 module, by Chris Tismer.Guido van Rossum1999-03-112-0/+22
|
* 1. Print the error message (carefully) when a dl.open() fails in verbose mode.Guido van Rossum1999-02-231-3/+4
| | | | 2. When no test case worked, raise ImportError instead of failing.
* According to Jeffrey Honig, bsd/os 4.0 should be added to the list.Guido van Rossum1999-02-231-1/+3
|
* The encoding type was wrong, I think.Guido van Rossum1999-02-051-0/+0
|
* New test for ntpath moduleGuido van Rossum1999-02-032-0/+43
|
* Added a -s option which is useful for narrowing down memory leaks.Barry Warsaw1999-01-281-4/+42
| | | | | With -s only a single test is run. The next test run is chosen sequentially from the list of all tests.
* Added a new test for old filter() memory leakBarry Warsaw1999-01-281-0/+17
|
* Slight reworking of this test. If nis.maps() gives a nis.error, thenBarry Warsaw1999-01-281-2/+5
| | | | | raise an ImportError if not running verbose. This signals to the regression framework that this test isn't applicable.
* Test the rfc822.py module. Contains just a few simple cases, and someBarry Warsaw1999-01-142-0/+83
| | | | troublesome ones encountered on the c.l.py list.
* New test_long.py from Tim Peters.Guido van Rossum1998-10-022-12/+126
|
* Patch by Marc-Andre Lemburg: use re module to compare test results.Guido van Rossum1998-09-141-5/+5
| | | | | This makes it possible to accept that on Linux %w returns "01" instead of "1", for example.
* There was still something wrong. The original NOTTESTS are replacedGuido van Rossum1998-08-251-3/+6
| | | | | | by the new '-x' arguments, losing the previous items. Thus, test_support, test_b1 & test_b2 are executed (and warnings issued). (Discovered by Vladimir Marangozov.)
* Should pass explicit arguments to findtests(). Should initialize 'nottests'.Guido van Rossum1998-08-241-2/+4
|
* Add Tim Peters' test for long intsGuido van Rossum1998-08-132-0/+144
|
* Guess what -- BSD has bifurcated again. :-(Guido van Rossum1998-08-111-1/+1
|
* Nannified, and re-indented with 4 spaces.Guido van Rossum1998-08-101-88/+88
|
* Generalized so it's useful for testing other packages, by AndrewGuido van Rossum1998-08-011-9/+34
| | | | Kuchling @ CNRI.
* Measure performance of sub(), split(), findall().Guido van Rossum1998-07-171-0/+23
|
* Added tests for findall().Guido van Rossum1998-07-171-1/+21
| | | | | Added test for m.groups() with default. Added a few prints announcing various tests in verbose mode.
* Add tests for array self-assigns. (This one has no relevance to JPython.)Guido van Rossum1998-07-161-1/+28
|
* Add tests for list self-assigns. (Sorry, this should have been hereGuido van Rossum1998-07-161-0/+13
| | | | before JPython 1.0 came out.)
* Improved test set for int() and long() string conversions.Guido van Rossum1998-06-301-0/+59
|
* Remove RCS and #! cruft at top.Guido van Rossum1998-06-261-4/+0
|
* With the recent change that makes numbers compare smaller than anything,Guido van Rossum1998-06-111-3/+3
| | | | the outcome of the test for max has changed.
* Now that test_MimeWriter is untabified, do the same here!Guido van Rossum1998-06-111-15/+15
|
* Changed runs of 8 spaces to tab -- to satisfy the tab nanny.Guido van Rossum1998-06-091-7/+7
|
* Untabified -- to satisfy the tab nanny.Guido van Rossum1998-06-091-44/+44
|
* Add Tim's worst case scenario.Guido van Rossum1998-05-261-6/+11
| | | | Revert to using whrandom so it will work with older versions of Python.
* Added some tests to make sure that long->int conversions nearGuido van Rossum1998-05-261-0/+12
| | | | sys.maxint and near -sys.maxint-1 work correctly.
* Change the last 4-space indent into a 1-tab indent.Guido van Rossum1998-05-221-1/+1
|
* Use random instead of whrandom.Guido van Rossum1998-05-202-12/+12
|
* Test that "import sys.imp" fails as it should.Guido van Rossum1998-05-191-1/+12
|