Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad For NameStore Call NameLoad NameLoad body Assign NameStore TupleLoad NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Str Str Expr Call NameLoad Call NameLoad Str Str Assign NameStore BinOpAdd BinOpMult Str Num BinOpMult Str Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad Call NameLoad NameLoad Slice Num Str SubscriptLoad Call NameLoad NameLoad Slice Num Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad Str Call NameLoad Str Assign NameStore BinOpAdd BinOpMult Str Num BinOpMult Str Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad Call NameLoad NameLoad Slice Num Str SubscriptLoad Call NameLoad NameLoad Slice Num Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad TupleLoad Num Str Assign NameStore TupleLoad Num Num Num Expr Call NameLoad Call NameLoad NameLoad Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore BinOpAdd SubscriptLoad Call NameLoad NameLoad Slice Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad TupleLoad Str Expr Call NameLoad Call NameLoad TupleLoad Num Str Expr Call NameLoad Call NameLoad TupleLoad Num Num Num Str Expr Call NameLoad Call NameLoad TupleLoad Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad TupleLoad Num Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad ListLoad Str Expr Call NameLoad Call NameLoad ListLoad Num Str Expr Call NameLoad Call NameLoad ListLoad Num Num Num Str Expr Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Dict Str Assign NameStore Dict Str Str Str Str Num Num Num Num Expr Call NameLoad Call NameLoad NameLoad Str Assign SubscriptStore NameLoad Index Str Num Expr Call NameLoad Call NameLoad NameLoad Str Expr Call NameLoad Call NameLoad Call NameLoad Str Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Num Num Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad Str ListLoad Num Num Num Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Num Call NameLoad Num Expr Call NameLoad Call NameLoad Num Call NameLoad Num Expr Call NameLoad Call NameLoad BinOpDiv Num Num Call NameLoad BinOpDiv Num Num Assign NameStore BinOpPow Num Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad Call NameLoad NameLoad Slice Num Str SubscriptLoad Call NameLoad NameLoad Slice Num Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMult Str Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad Call NameLoad NameLoad Slice Num Str SubscriptLoad Call NameLoad NameLoad Slice Num Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Lambda arguments args NameParam defaults NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad Str attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call NameLoad Num Str Expr Call NameLoad Call NameLoad Call NameLoad Num Num Str Expr Call NameLoad Call NameLoad Call NameLoad Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad Str Expr Call NameLoad Call NameLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad Str Expr Call NameLoad Call NameLoad Call NameLoad Num Str Expr Call NameLoad Call NameLoad Call NameLoad Num Str Expr Call NameLoad Call NameLoad Dict Call NameLoad Num Call NameLoad Num Str Expr Call NameLoad Call NameLoad Dict Call NameLoad Num Call NameLoad Num Str Expr Call NameLoad Call NameLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad Dict Str Expr Call NameLoad Call NameLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad Dict Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad Assign NameStore Dict Num Num Num Num Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore BinOpAdd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str ImportFrom alias Expr Call NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Str ImportFrom alias Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Str ImportFrom alias Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Str ImportFrom alias Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body ImportFrom alias If AttributeLoad NameLoad attr body Delete AttributeDel NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
  Test cases for the repr module
  Nick Mathewson
 N/A sys N/A os N/A shutil N/A unittest test.test_support run_unittest check_py3k_warnings repr repr r repr Repr nestedTuple N/A N/A nesting N/A N/A N/A t N/A N/A i N/A range nesting N/A N/A t N/A t N/A t N/A ReprTests N/A N/A unittest TestCase N/A test_string N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A r abc 'abc' N/A N/A eq N/A r abcdefghijklmnop 'abcdefghijklmnop' N/A s N/A N/A a 30 N/A b 30 N/A expected N/A N/A N/A N/A repr s N/A 13 ... N/A N/A repr s N/A -14 N/A N/A eq N/A r s expected N/A N/A eq N/A r "' N/A repr "' N/A s N/A N/A " 30 N/A ' 100 N/A expected N/A N/A N/A N/A repr s N/A 13 ... N/A N/A repr s N/A -14 N/A N/A eq N/A r s expected N/A test_tuple N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A r N/A 1 (1,) N/A t3 N/A 1 2 3 N/A N/A eq N/A r t3 (1, 2, 3) N/A r2 N/A Repr N/A N/A r2 maxtuple 2 N/A expected N/A N/A N/A repr t3 N/A -2 ...) N/A N/A eq N/A N/A r2 repr t3 expected N/A test_container N/A N/A self N/A N/A array array collections deque N/A eq N/A self assertEqual N/A N/A eq N/A r N/A () N/A N/A eq N/A r N/A 1 (1,) N/A N/A eq N/A r N/A 1 2 3 (1, 2, 3) N/A N/A eq N/A r N/A 1 2 3 4 5 6 (1, 2, 3, 4, 5, 6) N/A N/A eq N/A r N/A 1 2 3 4 5 6 7 (1, 2, 3, 4, 5, 6, ...) N/A N/A eq N/A r N/A [] N/A N/A eq N/A r N/A 1 [1] N/A N/A eq N/A r N/A 1 2 3 [1, 2, 3] N/A N/A eq N/A r N/A 1 2 3 4 5 6 [1, 2, 3, 4, 5, 6] N/A N/A eq N/A r N/A 1 2 3 4 5 6 7 [1, 2, 3, 4, 5, 6, ...] N/A N/A eq N/A r N/A set N/A set([]) N/A N/A eq N/A r N/A set N/A 1 set([1]) N/A N/A eq N/A r N/A set N/A 1 2 3 set([1, 2, 3]) N/A N/A eq N/A r N/A set N/A 1 2 3 4 5 6 set([1, 2, 3, 4, 5, 6]) N/A N/A eq N/A r N/A set N/A 1 2 3 4 5 6 7 set([1, 2, 3, 4, 5, 6, ...]) N/A N/A eq N/A r N/A frozenset N/A frozenset([]) N/A N/A eq N/A r N/A frozenset N/A 1 frozenset([1]) N/A N/A eq N/A r N/A frozenset N/A 1 2 3 frozenset([1, 2, 3]) N/A N/A eq N/A r N/A frozenset N/A 1 2 3 4 5 6 frozenset([1, 2, 3, 4, 5, 6]) N/A N/A eq N/A r N/A frozenset N/A 1 2 3 4 5 6 7 frozenset([1, 2, 3, 4, 5, 6, ...]) N/A N/A eq N/A r N/A deque N/A 1 2 3 4 5 6 7 deque([1, 2, 3, 4, 5, 6, ...]) N/A N/A eq N/A r N/A {} N/A d N/A alice bob charles dave 1 2 3 4 N/A N/A eq N/A r d {'alice': 1, 'bob': 2, 'charles': 3, 'dave': 4} N/A N/A d N/A arthur 1 N/A N/A eq N/A r d {'alice': 1, 'arthur': 1, 'bob': 2, 'charles': 3, ...} N/A N/A eq N/A r N/A array i array('i', []) N/A N/A eq N/A r N/A array i N/A 1 array('i', [1]) N/A N/A eq N/A r N/A array i N/A 1 2 array('i', [1, 2]) N/A N/A eq N/A r N/A array i N/A 1 2 3 array('i', [1, 2, 3]) N/A N/A eq N/A r N/A array i N/A 1 2 3 4 array('i', [1, 2, 3, 4]) N/A N/A eq N/A r N/A array i N/A 1 2 3 4 5 array('i', [1, 2, 3, 4, 5]) N/A N/A eq N/A r N/A array i N/A 1 2 3 4 5 6 array('i', [1, 2, 3, 4, 5, ...]) N/A test_numbers N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A r 123 N/A repr 123 N/A N/A eq N/A r 123 N/A repr 123 N/A N/A eq N/A r N/A 1.0 3 N/A repr N/A 1.0 3 N/A n N/A 10 100 N/A expected N/A N/A N/A N/A repr n N/A 18 ... N/A N/A repr n N/A -19 N/A N/A eq N/A r n expected N/A test_instance N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A i1 N/A ClassWithRepr a N/A N/A eq N/A r i1 N/A repr i1 N/A i2 N/A ClassWithRepr N/A x 1000 N/A expected N/A N/A N/A N/A repr i2 N/A 13 ... N/A N/A repr i2 N/A -14 N/A N/A eq N/A r i2 expected N/A i3 N/A ClassWithFailingRepr N/A N/A eq N/A r i3 N/A <ClassWithFailingRepr instance at %x> N/A id i3 N/A s N/A r ClassWithFailingRepr N/A N/A N/A self assertTrue N/A N/A s startswith <class  N/A N/A N/A self assertTrue N/A N/A s endswith > N/A N/A N/A self assertTrue N/A N/A N/A s find ... 8 N/A test_file N/A N/A self N/A N/A N/A fp N/A open N/A unittest __file__ N/A N/A N/A self assertTrue N/A N/A N/A repr fp startswith N/A <open file '%s', mode 'r' at 0x N/A unittest __file__ N/A N/A N/A fp close N/A N/A N/A self assertTrue N/A N/A N/A repr fp startswith N/A <closed file '%s', mode 'r' at 0x N/A unittest __file__ N/A test_lambda N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A repr N/A N/A N/A x N/A x startswith <function <lambda N/A test_builtin_function N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A repr hash <built-in function hash> N/A N/A N/A self assertTrue N/A N/A N/A repr N/A split startswith <built-in method split of str object at 0x N/A test_xrange N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A repr N/A xrange 1 xrange(1) N/A N/A eq N/A repr N/A xrange 1 2 xrange(1, 2) N/A N/A eq N/A repr N/A xrange 1 2 3 xrange(1, 4, 3) N/A test_nesting N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A r N/A N/A N/A N/A N/A N/A N/A [[[[[[[]]]]]]] N/A N/A eq N/A r N/A N/A N/A N/A N/A N/A N/A N/A [[[[[[[...]]]]]]] N/A N/A eq N/A r N/A nestedTuple 6 (((((((),),),),),),) N/A N/A eq N/A r N/A nestedTuple 7 (((((((...),),),),),),) N/A N/A eq N/A r N/A N/A nestedTuple 5 N/A nestedTuple 5 {((((((),),),),),): ((((((),),),),),)} N/A N/A eq N/A r N/A N/A nestedTuple 6 N/A nestedTuple 6 {((((((...),),),),),): ((((((...),),),),),)} N/A N/A eq N/A r N/A N/A N/A N/A N/A N/A N/A [[[[[[{}]]]]]] N/A N/A eq N/A r N/A N/A N/A N/A N/A N/A N/A N/A [[[[[[[...]]]]]]] N/A test_buffer N/A N/A self N/A N/A N/A N/A check_py3k_warnings N/A N/A x N/A buffer foo N/A N/A N/A self assertTrue N/A N/A N/A repr x startswith <read-only buffer for 0x N/A test_cell N/A N/A self N/A N/A N/A N/A test_descriptors N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A eq N/A repr N/A dict items <method 'items' of 'dict' objects> C N/A N/A foo N/A N/A cls N/A N/A N/A N/A N/A N/A x N/A staticmethod N/A C foo N/A N/A N/A self assertTrue N/A N/A N/A repr x startswith <staticmethod object at 0x N/A x N/A classmethod N/A C foo N/A N/A N/A self assertTrue N/A N/A N/A repr x startswith <classmethod object at 0x N/A test_unsortable N/A N/A self N/A N/A N/A x N/A set N/A 1j 2j 3j N/A y N/A frozenset x N/A z N/A 1j 2j 1 2 N/A N/A r x N/A N/A r y N/A N/A r z N/A N/A touch N/A N/A path text N/A N/A N/A fp N/A open path w N/A N/A N/A fp write text N/A N/A N/A fp close N/A LongReprTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A longname areallylongpackageandmodulenametotestreprtruncation N/A N/A self pkgname N/A N/A N/A os path join longname N/A N/A self subpkgname N/A N/A N/A os path join longname longname N/A N/A N/A shutil rmtree N/A self pkgname ignore_errors True N/A N/A N/A os mkdir N/A self pkgname N/A N/A touch N/A N/A N/A os path join N/A self pkgname N/A N/A __init__ N/A os extsep py N/A N/A N/A shutil rmtree N/A self subpkgname ignore_errors True N/A N/A N/A os mkdir N/A self subpkgname N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A __init__ N/A os extsep py N/A N/A self here N/A N/A os getcwd N/A N/A N/A N/A sys path insert 0 N/A self here N/A tearDown N/A N/A self N/A N/A N/A actions N/A N/A N/A dirpath dirnames filenames N/A N/A os walk N/A self pkgname N/A N/A name N/A dirnames filenames N/A N/A N/A N/A actions append N/A N/A N/A os path join dirpath name N/A N/A N/A actions append N/A self pkgname N/A N/A N/A actions sort N/A N/A N/A actions reverse N/A p actions N/A N/A N/A N/A N/A os path isdir p N/A N/A N/A N/A os rmdir p N/A N/A N/A N/A os remove p N/A N/A N/A sys path N/A 0 N/A test_module N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A N/A self pkgname N/A os extsep py areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation areallylongpackageandmodulenametotestreprtruncation N/A N/A eq N/A repr areallylongpackageandmodulenametotestreprtruncation N/A <module '%s' from '%s'> N/A N/A areallylongpackageandmodulenametotestreprtruncation __name__ N/A areallylongpackageandmodulenametotestreprtruncation __file__ N/A test_type N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A foo N/A os extsep py class foo(object):
    pass
 areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation foo N/A N/A eq N/A repr N/A foo foo N/A <class '%s.foo'> N/A foo __name__ N/A test_object N/A N/A self N/A N/A N/A N/A test_class N/A N/A self N/A N/A N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A bar N/A os extsep py class bar:
    pass
 areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation bar N/A N/A N/A self assertTrue N/A N/A N/A repr N/A bar bar startswith N/A <class %s.bar at 0x N/A bar __name__ N/A test_instance N/A N/A self N/A N/A N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A baz N/A os extsep py class baz:
    pass
 areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation baz N/A ibaz N/A N/A baz baz N/A N/A N/A self assertTrue N/A N/A N/A repr ibaz startswith N/A <%s.baz instance at 0x N/A baz __name__ N/A test_method N/A N/A self N/A N/A N/A eq N/A self assertEqual N/A N/A touch N/A N/A N/A os path join N/A self subpkgname N/A N/A qux N/A os extsep py class aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:
    def amethod(self): pass
 areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation qux N/A N/A eq N/A repr N/A N/A qux aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa amethod <unbound method aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.amethod> N/A iqux N/A N/A qux aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa N/A N/A N/A self assertTrue N/A N/A N/A repr N/A iqux amethod startswith N/A <bound method aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.amethod of <%s.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa instance at 0x N/A N/A qux __name__ N/A test_builtin_function N/A N/A self N/A N/A N/A N/A N/A ClassWithRepr N/A N/A __init__ N/A N/A self s N/A N/A N/A N/A self s s N/A __repr__ N/A N/A self N/A N/A N/A N/A ClassWithLongRepr(%r) N/A self s N/A N/A ClassWithFailingRepr N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A Exception This should be caught by Repr.repr_instance N/A N/A test_main N/A N/A N/A N/A test test_support N/A N/A test_support is_jython N/A N/A N/A ReprTests test_buffer N/A N/A run_unittest ReprTests N/A N/A run_unittest LongReprTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main