summaryrefslogtreecommitdiff
path: root/Lib/test/test_unicode.py
AgeCommit message (Expand)AuthorLines
2004-08-26Move test_bug1001011() to string_tests.MixinStrUnicodeTest so thatWalter Dörwald-1/+2
2004-08-04SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang-2/+1
2004-07-23Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__().Marc-André Lemburg-0/+8
2004-06-04Reuse width/iswide tests from strings_test. (Suggested by Walter Dörwald)Hye-Shik Chang-21/+2
2004-06-04Fix typo.Hye-Shik Chang-1/+1
2004-06-02- SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang-0/+20
2004-02-05Fix reallocation bug in unicode.translate(): The code was comparingWalter Dörwald-0/+1
2003-10-06Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.Jeremy Hylton-0/+7
2003-08-05Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.Martin v. Löwis-0/+4
2003-05-18Consider \U-escapes in raw-unicode-escape. Fixes #444514.Martin v. Löwis-0/+7
2003-05-01Combine the functionality of test_support.run_unittest()Walter Dörwald-3/+1
2003-04-02Change formatchar(), so that u"%c" % 0xffffffff now raisesWalter Dörwald-1/+1
2003-03-31Remove duplicate test.Walter Dörwald-2/+2
2003-03-31Fix PyString_Format() so that '%c' % u'a' returns u'a'Walter Dörwald-0/+3
2003-02-21Port all string tests to PyUnit and share as much testsWalter Dörwald-489/+129
2003-02-10Add a few tests to test_count() to increase coverage inWalter Dörwald-0/+6
2003-02-10Fix copy&paste error: call title instead of countWalter Dörwald-1/+1
2003-01-19Port test_unicode.py to PyUnit and add tests for errorWalter Dörwald-750/+938
2003-01-08Add a test that exercises the error handling part ofWalter Dörwald-0/+6
2002-12-29Patch for bug #659709: bogus computation of float lengthMarc-André Lemburg-0/+25
2002-11-18check for unicode.__mod__Neil Schemenauer-0/+1
2002-10-23Fix for bug #626172: crash using unicode latin1 single charMarc-André Lemburg-0/+6
2002-09-14Don't test whether surrogate sequences round-trip in UTF-8. 2.2.2 candidate.Martin v. Löwis-1/+4
2002-09-14Use integer above sys.maxunicode for range test. Fixes #608884.Martin v. Löwis-2/+2
2002-09-04Change the unicode.translate docstring to document thatWalter Dörwald-0/+2
2002-08-23Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do theGuido van Rossum-0/+2
2002-08-23Code by Inyeol Lee, submitted to SF bug 595350, to implementGuido van Rossum-6/+4
2002-08-20Fix some endcase bugs in unicode rfind()/rindex() and endswith().Guido van Rossum-0/+6
2002-08-11Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.Marc-André Lemburg-0/+8
2002-08-09Unicode replace() method with empty pattern argument should fail, likeGuido van Rossum-0/+6
2002-08-06Expanded the unittests for the new width sensitive PyUnicode_Contains().Raymond Hettinger-0/+6
2002-08-06Added a test for PyUnicode_Contains() taking into account the width ofBarry Warsaw-0/+1
2002-08-06Committing patch #591250 which provides "str1 in str2" when str1 is aBarry Warsaw-18/+57
2002-08-04Add encoding declaration.Martin v. Löwis-0/+1
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-05-23Whitespace normalization.Tim Peters-1/+1
2002-04-22Apply patch diff.txt from SF feature requestWalter Dörwald-0/+18
2002-04-17Apply diff3.txt from SF patch http://www.python.org/sf/536241Walter Dörwald-0/+22
2002-04-16Whitespace normalization.Tim Peters-1/+1
2002-04-15Apply the second version of SF patch http://www.python.org/sf/536241Walter Dörwald-2/+12
2002-04-10Added test case for UTF-8 encoding bug #541828.Marc-André Lemburg-0/+16
2002-04-03Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum-67/+67
2002-03-29As part of fixing bug #536241, add a test case for string.zfill() with UnicodeAndrew M. Kuchling-1/+4
2002-03-21Do not insert characters for unicode-escape decoders if the error modeMartin v. Löwis-0/+8
2002-02-07Fix to the UTF-8 encoder: it failed on 0-length input strings.Marc-André Lemburg-23/+33
2002-02-06Fix for the UTF-8 memory allocation bug and the UTF-8 encodingMarc-André Lemburg-12/+11
2001-12-10Skipping some tests by adding the usual jython conditional test around:Finn Bock-24/+27
2001-12-01Whitespace normalization.Tim Peters-1/+0
2001-11-28Adding test for Unicode repr()-output.Marc-André Lemburg-0/+15
2001-11-20Fix for bug #438164: %-formatting using Unicode objects.Marc-André Lemburg-4/+1