summaryrefslogtreecommitdiff
path: root/Lib/test/test_string.py
AgeCommit message (Collapse)AuthorLines
2003-01-02Backport MAL's patch for bug #659709: bogus computation of float lengthRaymond Hettinger-0/+26
2002-10-07Whitespace normalization.Tim Peters-1/+1
2002-04-22Backport the following changes:Walter Dörwald-0/+19
Misc/NEWS 1.387->1.388 Lib/test/string_tests.py 1.10->1.11, 1.12->1.14, Lib/test/test_unicode.py 1.50->1.51, 1.53->1.54, 1.55->1.56 Lib/test/test_string.py 1.15->1.16 Lib/string.py 1.61->1.63 Lib/test/test_userstring.py 1.5->1.6, 1.11, 1.12 Objects/stringobject.c 2.156->2.159 Objects/unicodeobject.c 2.137->2.139 Doc/lib/libstdtypes.tec 1.87->1.88 Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly (see SF patch http://www.python.org/sf/536241) This also adds Guido's fix to test_userstring.py and the subinstance checks in test_string.py and test_unicode.py.
2001-12-09test(): Avoid a UnboundLocalError when a method is missing from both the stringFinn Bock-0/+1
module and from string methods. This closes patch "[ #490811 ] Jython and test_string".
2001-01-17a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh-1/+1
'verify' iff it's used by a test module...
2001-01-17This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg-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.
2000-10-23Make reindent.py happy (convert everything to 4-space indents!).Fred Drake-2/+1
2000-08-04Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters-2/+2
to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
2000-07-10factor out test definitions to string_tests moduleJeremy Hylton-166/+4
test_string and test_userstring run same tests for string methods
2000-07-05Added tests for the new .isalpha() and .isalnum() methods.Marc-André Lemburg-0/+15
2000-04-11Marc-Andre Lemburg:Guido van Rossum-2/+1
Modified .splitlines() tests according to the changes in stringobject.c.
2000-03-20On 17-Mar-2000, Marc-Andre Lemburg said:Barry Warsaw-0/+1
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-10Marc-Andre Lemburg: test script for Unicode implementation.Guido van Rossum-10/+53
1999-06-15Added a couple of endswith test cases for bugs reported by Timbot.Barry Warsaw-0/+8
Also added a short circuit for the regression test suite since CVS insisted on putting this file in the main branch. :(
1999-06-14Added more tests of joinBarry Warsaw-0/+9
1999-06-11Two extra startswith testsBarry Warsaw-0/+3
1999-06-11Harness can now test object methods directly, if they aren't availableBarry Warsaw-2/+14
in the string module. Add a bunch of new tests for extended startswith/endswith arguments.
1999-06-10Regression test for the new string methods.Barry Warsaw-0/+110