summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-01-10 10:21:11 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-01-10 10:21:11 (GMT)
commitef34274d3bec2ac513f6e67bca9eb2ecda5a0cd4 (patch)
tree9c91b3d322104b113b46d61ae15dbb840272cc3a /Lib/test/output
parent0d9f9dcf67c4c044f27cbbc7d3852951869dee53 (diff)
downloadcpython-ef34274d3bec2ac513f6e67bca9eb2ecda5a0cd4.zip
cpython-ef34274d3bec2ac513f6e67bca9eb2ecda5a0cd4.tar.gz
cpython-ef34274d3bec2ac513f6e67bca9eb2ecda5a0cd4.tar.bz2
Moved the test codec definition to a new module and updated the test and
codec to test all charmap codec features. As side-effect of moving the test codec into a new module, the encodings package codec import mechanism is checked as well.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_charmapcodec15
1 files changed, 15 insertions, 0 deletions
diff --git a/Lib/test/output/test_charmapcodec b/Lib/test/output/test_charmapcodec
index 9b15894..646ccd3 100644
--- a/Lib/test/output/test_charmapcodec
+++ b/Lib/test/output/test_charmapcodec
@@ -1 +1,16 @@
test_charmapcodec
+u'abc' == u'abc': OK
+u'abcdef' == u'abcdef': OK
+u'defabc' == u'defabc': OK
+u'dabcf' == u'dabcf': OK
+u'dabcfabc' == u'dabcfabc': OK
+'abc' == 'abc': OK
+'abcdef' == 'abcdef': OK
+'defabc' == 'defabc': OK
+'dabcf' == 'dabcf': OK
+'dabcfabc' == 'dabcfabc': OK
+u'def' == u'def': OK
+u'def' == u'def': OK
+u'df' == u'df': OK
+u'df' == u'df': OK
+\001 maps to undefined: OK