Module Expr Str Import alias alias Import alias FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body ImportFrom alias Return Call NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A  Python character mapping codec test

This uses the test codec in testcodec.py and thus also tests the
encodings package lookup scheme.

Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright 2000 Guido van Rossum.

 N/A test.support unittest N/A codecs codec_search_function N/A N/A encoding N/A N/A N/A N/A encoding testcodec N/A test testcodec N/A N/A tuple N/A N/A testcodec getregentry N/A None N/A N/A N/A N/A codecs register codec_search_function N/A codecname testcodec CharmapCodecTest N/A N/A unittest TestCase N/A test_constructorx N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A str abc codecname abc N/A N/A N/A self assertEqual N/A str xdef codecname abcdef N/A N/A N/A self assertEqual N/A str defx codecname defabc N/A N/A N/A self assertEqual N/A str dxf codecname dabcf N/A N/A N/A self assertEqual N/A str dxfx codecname dabcfabc N/A test_encodex N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A abc encode codecname abc N/A N/A N/A self assertEqual N/A N/A xdef encode codecname abcdef N/A N/A N/A self assertEqual N/A N/A defx encode codecname defabc N/A N/A N/A self assertEqual N/A N/A dxf encode codecname dabcf N/A N/A N/A self assertEqual N/A N/A dxfx encode codecname dabcfabc N/A test_constructory N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A str ydef codecname def N/A N/A N/A self assertEqual N/A str defy codecname def N/A N/A N/A self assertEqual N/A str dyf codecname df N/A N/A N/A self assertEqual N/A str dyfy codecname df N/A test_maptoundefined N/A N/A self N/A N/A N/A N/A N/A self assertRaises UnicodeError str abc codecname N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A N/A test support run_unittest CharmapCodecTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main