cpython/Lib/test/output/test_charmapcodec
Marc-André Lemburg ef34274d3b 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.
2001-01-10 10:21:11 +00:00

16 lines
377 B
Text

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