Module Expr Str Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Slice Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad NameLoad body Return NameLoad Print Str Print Str Print NameLoad Print Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Print Str Print SubscriptLoad NameLoad Index NameLoad Print Str Print SubscriptLoad NameLoad Index NameLoad Break orelse If CompareGt NameLoad NameLoad body Print Str Print SubscriptLoad NameLoad Index NameLoad orelse If CompareGt NameLoad NameLoad body Print Str Print SubscriptLoad NameLoad Index NameLoad orelse Print Str Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A Some simple additions to the unittest framework useful for gflags testing. N/A re N/A unittest Sorted N/A N/A lst N/A N/A N/A Equivalent of sorted(), but not dependent on python version. N/A sorted_list N/A lst N/A N/A N/A N/A sorted_list sort N/A sorted_list N/A MultiLineEqual N/A N/A expected actual N/A N/A N/A Returns True if expected == actual, or returns False and logs. N/A N/A actual expected N/A N/A True N/A Error: FLAGS.MainModuleHelp() didn't return the expected result. N/A Got: N/A actual N/A [End of got] N/A actual_lines N/A N/A actual split N/A expected_lines N/A N/A expected split N/A num_actual_lines N/A len actual_lines N/A num_expected_lines N/A len expected_lines N/A N/A num_actual_lines num_expected_lines N/A N/A N/A Number of actual lines = %d, expected %d N/A num_actual_lines num_expected_lines N/A num_to_match N/A min num_actual_lines num_expected_lines N/A i N/A range num_to_match N/A N/A N/A N/A actual_lines N/A i N/A expected_lines N/A i N/A N/A One discrepancy: Got: N/A N/A actual_lines N/A i N/A Expected: N/A N/A expected_lines N/A i N/A N/A N/A N/A num_actual_lines num_expected_lines N/A N/A New help line: N/A N/A actual_lines N/A num_expected_lines N/A N/A N/A num_expected_lines num_actual_lines N/A N/A Missing expected help line: N/A N/A expected_lines N/A num_actual_lines N/A N/A Bug in this test -- discrepancy detected but not found. N/A False N/A TestCase N/A N/A unittest TestCase N/A assertListEqual N/A N/A self list1 list2 msg N/A None N/A N/A Asserts that, when sorted, list1 and list2 are identical. N/A N/A hasattr N/A unittest TestCase assertListEqual N/A N/A N/A N/A N/A unittest TestCase assertListEqual self N/A Sorted list1 N/A Sorted list2 msg N/A N/A N/A N/A self assertEqual N/A Sorted list1 N/A Sorted list2 msg N/A assertMultiLineEqual N/A N/A self expected actual msg N/A None N/A N/A N/A hasattr N/A unittest TestCase assertMultiLineEqual N/A N/A N/A N/A N/A unittest TestCase assertMultiLineEqual self expected actual msg N/A N/A N/A N/A self assertTrue N/A MultiLineEqual expected actual msg N/A assertRaisesWithRegexpMatch N/A N/A self exception regexp fn N/A args kwargs N/A N/A N/A N/A N/A fn args kwargs N/A N/A N/A exception N/A why N/A N/A N/A N/A self assertTrue N/A N/A re search regexp N/A str why N/A '%s' does not match '%s' N/A regexp why N/A N/A N/A N/A self fail N/A N/A exception __name__  not raised N/A N/A main N/A N/A N/A N/A N/A N/A N/A unittest main N/A