Module Expr Str Import alias ImportFrom alias Import alias alias alias alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Str BinOpMod NameLoad TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad TupleLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler body Pass TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod NameLoad TupleLoad Num AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryFinally body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Tests for uu module.
Nick Mathewson
 N/A unittest test test_support N/A sys os uu cStringIO N/A uu StringIO StringIO N/A plaintext The smooth-scaled python crept over the sleeping dog
 N/A encodedtext M5&AE('-M;V]T:"US8V%L960@<'ET:&]N(&-R97!T(&]V97(@=&AE('-L965P
(:6YG(&1O9PH  N/A encodedtextwrapped N/A N/A begin %03o %s
 N/A N/A encodedtext replace % %% 
 
end
 UUTest N/A N/A unittest TestCase N/A test_encode N/A N/A self N/A N/A N/A inp N/A N/A cStringIO StringIO plaintext N/A out N/A N/A cStringIO StringIO N/A N/A N/A uu encode inp out t1 N/A N/A N/A self assertEqual N/A N/A out getvalue N/A encodedtextwrapped N/A 438 t1 N/A inp N/A N/A cStringIO StringIO plaintext N/A out N/A N/A cStringIO StringIO N/A N/A N/A uu encode inp out t1 420 N/A N/A N/A self assertEqual N/A N/A out getvalue N/A encodedtextwrapped N/A 420 t1 N/A test_decode N/A N/A self N/A N/A N/A inp N/A N/A cStringIO StringIO N/A encodedtextwrapped N/A 438 t1 N/A out N/A N/A cStringIO StringIO N/A N/A N/A uu decode inp out N/A N/A N/A self assertEqual N/A N/A out getvalue plaintext N/A inp N/A N/A cStringIO StringIO N/A N/A UUencoded files may contain many lines,
 even some that have 'begin' in them.
 N/A encodedtextwrapped N/A 438 t1 N/A out N/A N/A cStringIO StringIO N/A N/A N/A uu decode inp out N/A N/A N/A self assertEqual N/A N/A out getvalue plaintext N/A test_truncatedinput N/A N/A self N/A N/A N/A inp N/A N/A cStringIO StringIO N/A begin 644 t1
 encodedtext N/A out N/A N/A cStringIO StringIO N/A N/A N/A N/A N/A uu decode inp out N/A N/A N/A self fail No exception thrown N/A N/A N/A N/A uu Error N/A e N/A N/A N/A N/A self assertEqual N/A str e Truncated input file N/A test_missingbegin N/A N/A self N/A N/A N/A inp N/A N/A cStringIO StringIO N/A out N/A N/A cStringIO StringIO N/A N/A N/A N/A N/A uu decode inp out N/A N/A N/A self fail No exception thrown N/A N/A N/A N/A uu Error N/A e N/A N/A N/A N/A self assertEqual N/A str e No valid begin line found in input file N/A N/A UUStdIOTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self stdin N/A sys stdin N/A N/A self stdout N/A sys stdout N/A tearDown N/A N/A self N/A N/A N/A N/A sys stdin N/A self stdin N/A N/A sys stdout N/A self stdout N/A test_encode N/A N/A self N/A N/A N/A N/A sys stdin N/A N/A cStringIO StringIO plaintext N/A N/A sys stdout N/A N/A cStringIO StringIO N/A N/A N/A uu encode - - t1 438 N/A N/A N/A self assertEqual N/A N/A N/A sys stdout getvalue N/A encodedtextwrapped N/A 438 t1 N/A test_decode N/A N/A self N/A N/A N/A N/A sys stdin N/A N/A cStringIO StringIO N/A encodedtextwrapped N/A 438 t1 N/A N/A sys stdout N/A N/A cStringIO StringIO N/A N/A N/A uu decode - - N/A N/A N/A self assertEqual N/A N/A N/A sys stdout getvalue plaintext N/A N/A UUFileTest N/A N/A unittest TestCase N/A _kill N/A N/A self f N/A N/A N/A N/A N/A N/A N/A f close N/A N/A N/A N/A SystemExit KeyboardInterrupt N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A os unlink N/A f name N/A N/A N/A N/A SystemExit KeyboardInterrupt N/A N/A N/A N/A N/A N/A setUp N/A N/A self N/A N/A N/A N/A self tmpin N/A N/A test_support TESTFN i N/A N/A self tmpout N/A N/A test_support TESTFN o N/A tearDown N/A N/A self N/A N/A N/A N/A self tmpin N/A N/A self tmpout N/A test_encode N/A N/A self N/A N/A N/A N/A N/A fin N/A open N/A self tmpin wb N/A N/A N/A fin write plaintext N/A N/A N/A fin close N/A fin N/A open N/A self tmpin rb N/A fout N/A open N/A self tmpout w N/A N/A N/A uu encode fin fout N/A self tmpin mode 420 N/A N/A N/A fin close N/A N/A N/A fout close N/A fout N/A open N/A self tmpout r N/A s N/A N/A fout read N/A N/A N/A fout close N/A N/A N/A self assertEqual s N/A encodedtextwrapped N/A 420 N/A self tmpin N/A N/A N/A uu encode N/A self tmpin N/A self tmpout mode 420 N/A fout N/A open N/A self tmpout r N/A s N/A N/A fout read N/A N/A N/A fout close N/A N/A N/A self assertEqual s N/A encodedtextwrapped N/A 420 N/A self tmpin N/A N/A N/A N/A self _kill fin N/A N/A N/A self _kill fout N/A test_decode N/A N/A self N/A N/A N/A N/A N/A f N/A open N/A self tmpin wb N/A N/A N/A f write N/A encodedtextwrapped N/A 420 N/A self tmpout N/A N/A N/A f close N/A f N/A open N/A self tmpin rb N/A N/A N/A uu decode f N/A N/A N/A f close N/A f N/A open N/A self tmpout r N/A s N/A N/A f read N/A N/A N/A f close N/A N/A N/A self assertEqual s plaintext N/A N/A N/A N/A self _kill f N/A test_decodetwice N/A N/A self N/A N/A N/A N/A N/A f N/A N/A cStringIO StringIO N/A encodedtextwrapped N/A 420 N/A self tmpout N/A f N/A open N/A self tmpin rb N/A N/A N/A uu decode f N/A N/A N/A f close N/A f N/A open N/A self tmpin rb N/A N/A N/A self assertRaises N/A uu Error N/A uu decode f N/A N/A N/A f close N/A N/A N/A N/A self _kill f N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest UUTest UUStdIOTest UUFileTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main