summaryrefslogtreecommitdiff
path: root/Lib/test/string_tests.py
AgeCommit message (Expand)AuthorLines
2006-09-05Fix str.rpartition(sep) when sep is not found in str.Neal Norwitz-1/+1
2006-07-30Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz-2/+7
2006-06-10Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.Georg Brandl-0/+2
2006-06-09RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first...Georg Brandl-1/+31
2006-06-01Re-enable a new empty-string test added during the NFS sprint,Tim Peters-6/+1
2006-05-30changed count to return 0 for slices outside the source stringFredrik Lundh-1/+2
2006-05-30changed find/rfind to return -1 for matches outside the source stringFredrik Lundh-0/+8
2006-05-29fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying onFredrik Lundh-0/+8
2006-05-26needspeed: rpartition documentation, tests, and a bug fixes.Fredrik Lundh-2/+17
2006-05-26Test for more edge strip cases; leading and trailing separator gets removedAndrew Dalke-0/+2
2006-05-26Added more rstrip tests, including for prealloc'ed arraysAndrew Dalke-1/+54
2006-05-26Test cases for off-by-one errors in string split with multicharacter pattern.Andrew Dalke-0/+2
2006-05-26I like tests.Andrew Dalke-0/+32
2006-05-26Added split whitespace checks for characters other than space.Andrew Dalke-0/+1
2006-05-26Added a few more test cases for whitespace split. These strings have leading...Andrew Dalke-0/+7
2006-05-26needforspeed: partition implementation, part two.Fredrik Lundh-0/+15
2006-05-25Whitespace normalization.Tim Peters-2/+2
2006-05-25needforspeed: check for overflow in replace (from Andrew Dalke)Fredrik Lundh-9/+8
2006-05-25Added tests for implementation error we came up with in the need for speed sp...Andrew Dalke-0/+19
2006-05-24Disable the damn empty-string replace test -- it can'tTim Peters-2/+2
2006-05-24We can't leave the checked-in tests broken.Tim Peters-5/+10
2006-05-24Added a slew of test for string replace, based various corner cases fromAndrew Dalke-0/+157
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+3
2005-10-21Fix bug:Michael W. Hudson-0/+9
2005-07-28Disable encoding/decoding test, if unicode is disabled.Walter Dörwald-19/+20
2005-02-20* Beef-up tests for str.count().Raymond Hettinger-0/+28
2005-02-20* Beef-up testing of str.__contains__() and str.find().Raymond Hettinger-0/+24
2004-10-26SF bug #1054139: serious string hashing error in 2.4b1Raymond Hettinger-0/+9
2004-08-27test_bug1001011(): Verify thatTim Peters-5/+33
2004-08-26Move test_bug1001011() to string_tests.MixinStrUnicodeTest so thatWalter Dörwald-0/+19
2004-08-04SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang-25/+0
2004-06-04Add iswide() and width() method for UserString according as theHye-Shik Chang-0/+25
2004-01-05[SF #866875] Add a specialized routine for one characterHye-Shik Chang-14/+55
2003-12-23Fix unicode.rsplit()'s bug that ignores separater on the end of string whenHye-Shik Chang-0/+2
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+20
2003-11-26Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger-3/+3
2003-08-27SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger-0/+1
2003-04-24Whitespace normalization.Tim Peters-1/+0
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-28/+27
2003-03-31Fix PyString_Format() so that '%c' % u'a' returns u'a'Walter Dörwald-0/+1
2003-03-26Add two tests for simple error cases.Walter Dörwald-0/+4
2003-02-23Get test to work on alphaNeal Norwitz-1/+1
2003-02-21Port all string tests to PyUnit and share as much testsWalter Dörwald-279/+578
2002-12-12Patch #650653: Raise always value error if the table is not 256 bytes long.Martin v. Löwis-0/+2
2002-11-18check for str.__mod__Neil Schemenauer-0/+3
2002-08-23Code by Inyeol Lee, submitted to SF bug 595350, to implementGuido van Rossum-0/+4
2002-08-09Moved inplace add and multiply methods from UserString to MutableString.Raymond Hettinger-0/+6
2002-08-09Revised the test suite for 'contains' to use the test() function argumentRaymond Hettinger-9/+9
2002-08-08Whitespace normalization.Tim Peters-1/+0
2002-08-06Committing patch #591250 which provides "str1 in str2" when str1 is aBarry Warsaw-1/+21