Module Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Return For NameStore NameLoad body If BoolOpOr UnaryOpNot SubscriptLoad NameLoad Index Num CompareEq SubscriptLoad NameLoad Index Num Str body Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Assign NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore SubscriptLoad NameLoad Index NameLoad While CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Str Break orelse If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Continue orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad BinOpAdd Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Break orelse Assign NameStore BinOpAdd NameLoad Num TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Break Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sys N/A unittest test test_support N/A pwd N/A N/A test_support import_module pwd PwdTest N/A N/A unittest TestCase N/A test_values N/A N/A self N/A N/A N/A entries N/A N/A pwd getpwall N/A entriesbyname N/A N/A entriesbyuid N/A N/A e entries N/A N/A N/A N/A self assertEqual N/A len e 7 N/A N/A N/A self assertEqual N/A e N/A 0 N/A e pw_name N/A N/A N/A self assertIsInstance N/A e pw_name basestring N/A N/A N/A self assertEqual N/A e N/A 1 N/A e pw_passwd N/A N/A N/A self assertIsInstance N/A e pw_passwd basestring N/A N/A N/A self assertEqual N/A e N/A 2 N/A e pw_uid N/A N/A N/A self assertIsInstance N/A e pw_uid int N/A N/A N/A self assertEqual N/A e N/A 3 N/A e pw_gid N/A N/A N/A self assertIsInstance N/A e pw_gid int N/A N/A N/A self assertEqual N/A e N/A 4 N/A e pw_gecos N/A N/A N/A self assertIsInstance N/A e pw_gecos basestring N/A N/A N/A self assertEqual N/A e N/A 5 N/A e pw_dir N/A N/A N/A self assertIsInstance N/A e pw_dir basestring N/A N/A N/A self assertEqual N/A e N/A 6 N/A e pw_shell N/A N/A N/A self assertIsInstance N/A e pw_shell basestring N/A N/A N/A N/A N/A entriesbyname setdefault N/A e pw_name N/A append e N/A N/A N/A N/A N/A entriesbyuid setdefault N/A e pw_uid N/A append e N/A N/A N/A len entries 1000 N/A N/A N/A e entries N/A N/A N/A N/A N/A e N/A 0 N/A N/A e N/A 0 + N/A N/A N/A N/A N/A self assertIn N/A N/A pwd getpwnam N/A e pw_name N/A entriesbyname N/A N/A e pw_name N/A N/A N/A self assertIn N/A N/A pwd getpwuid N/A e pw_uid N/A entriesbyuid N/A N/A e pw_uid N/A test_errors N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A pwd getpwuid N/A N/A N/A self assertRaises TypeError N/A pwd getpwnam N/A N/A N/A self assertRaises TypeError N/A pwd getpwall 42 N/A bynames N/A N/A byuids N/A N/A N/A n p u g gecos d s N/A N/A pwd getpwall N/A N/A N/A bynames N/A n u N/A N/A byuids N/A u n N/A allnames N/A N/A bynames keys N/A namei 0 N/A fakename N/A allnames N/A namei N/A N/A fakename bynames N/A N/A chars N/A list fakename N/A i N/A xrange N/A len chars N/A N/A N/A N/A chars N/A i z N/A N/A N/A chars N/A i A N/A N/A N/A N/A N/A chars N/A i Z N/A N/A N/A N/A N/A chars N/A i N/A chr N/A N/A ord N/A chars N/A i 1 N/A N/A N/A namei N/A namei 1 N/A N/A N/A fakename N/A allnames N/A namei N/A N/A N/A IndexError N/A N/A N/A fakename N/A N/A join chars N/A N/A N/A self assertRaises KeyError N/A pwd getpwnam fakename N/A fakeuid N/A sys maxint N/A N/A N/A self assertNotIn fakeuid byuids N/A N/A N/A self assertRaises KeyError N/A pwd getpwuid fakeuid N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest PwdTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main