summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecs.py
AgeCommit message (Expand)AuthorLines
2006-06-13Verify the crash due to EncodingMap not initialized does not returnNeal Norwitz-0/+6
2006-04-14Add a BufferedIncrementalEncoder class that can be used for implementingWalter Dörwald-3/+70
2006-04-14Call encode()/decode() with final==True as the last call in theWalter Dörwald-0/+4
2006-03-18Add tests for the C APIs PyCodec_IncrementalEncoder() andWalter Dörwald-2/+14
2006-03-15Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclassWalter Dörwald-0/+57
2006-03-06If size is specified, try to read at least size characters.Walter Dörwald-5/+9
2006-01-08Patch #1177307: UTF-8-Sig codec.Martin v. Löwis-0/+28
2005-11-17Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.Walter Dörwald-0/+19
2005-11-17Add tests for various error cases and for readbuffer_encode() andWalter Dörwald-2/+67
2005-10-06Part of SF patch #1313939: Speedup charmap decoding by extendingWalter Dörwald-1/+36
2005-08-30SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complainWalter Dörwald-1/+50
2005-08-25Make IDNA return an empty string when the input is empty. Fixes #1163178.Martin v. Löwis-0/+6
2005-07-20Make attributes and local variables in the StreamReader str objects insteadWalter Dörwald-0/+17
2005-04-21Update test to the current readline() behaviour.Walter Dörwald-0/+2
2005-04-04Fix for SF bug #1175396: readline() will now read one more character, ifWalter Dörwald-9/+82
2005-03-14Reset internal buffers when seek() is called. This fixes SF bug #1156259.Walter Dörwald-0/+15
2005-02-08Fix stupid typo: Don't read from a writer.Walter Dörwald-2/+2
2005-02-04Add a test for UTF-16 reading where the byte sequence doesn't start withWalter Dörwald-0/+9
2005-01-10Fix and test for SF bug #1098990: codec readline() splits lines apart.Walter Dörwald-0/+30
2004-12-29Add a test that checks the basic functionality of every encoding.Walter Dörwald-1/+179
2004-12-21The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()Walter Dörwald-13/+80
2004-10-28Trigger a few error cases in Modules/_codecsmodule.c.Walter Dörwald-0/+14
2004-10-17SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()Hye-Shik Chang-1/+12
2004-09-07SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald-1/+117
2004-07-10Add generic codecs.encode() and .decode() APIs that don't imposeMarc-André Lemburg-1/+11
2004-07-08Whitespace normalization.Tim Peters-1/+1
2004-03-24Add test case for unicode(somestring, "idna").Martin v. Löwis-1/+6
2003-05-01Combine the functionality of test_support.run_unittest()Walter Dörwald-7/+7
2003-04-24Whitespace normalization.Tim Peters-2/+2
2003-04-18Skip nameprep test 3.43, as we do allow unassigned characters. The testMartin v. Löwis-2/+4
2003-04-18Implement IDNA (Internationalized Domain Names in Applications).Martin v. Löwis-0/+296
2003-02-04Fix for [ 543344 ] Interpreter crashes when recoding; suggestedMarc-André Lemburg-0/+9
2002-09-03Check whether a string resize is necessary at the endWalter Dörwald-1/+8
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+2
2001-09-20Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake-1/+7
2001-06-19Test by Martin v. Loewis for the new UTF-16 codec handling of BOMMarc-André Lemburg-0/+25