summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strop.py
Commit message (Collapse)AuthorAgeFilesLines
* Guido has Spoken. Restore strop.replace()'s treatment of a 0 count asTim Peters2001-05-101-1/+3
| | | | | | | meaning infinity -- but at least warn about it in the code! I pissed away a couple hours on this today, and don't wish the same on the next in line. Bugfix candidate.
* The strop module and test_strop.py believe replace() with a 0 countTim Peters2001-05-101-1/+1
| | | | | | | means "replace everything". But the string module, string.replace() amd test_string.py believe a 0 count means "replace nothing". "Nothing" wins, strop loses. Bugfix candidate.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-8/+8
|
* Added strop.split tests when sep is None.Barry Warsaw1997-12-021-0/+6
|
* Added tests of strop.replace()Barry Warsaw1997-11-291-0/+9
|
* Added a couple of strop.join() tests for large lists and long itemsBarry Warsaw1997-01-061-1/+20
| | | | within the lists (new output file to be checked in shortly).
* Added tests of all strop module functions, and touching of moduleBarry Warsaw1996-12-091-2/+35
| | | | variables
* Removed debugging print statementGuido van Rossum1996-10-081-1/+0
|
* Simple test module for strop.Guido van Rossum1996-10-081-0/+21