mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
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.
16 lines
377 B
Text
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
|