Module Expr Str ImportFrom alias alias Import alias ImportFrom alias Import alias ImportFrom alias TryExcept body ImportFrom alias alias alias alias handlers ExceptHandler type NameLoad body Import alias Expr Call AttributeLoad NameLoad attr Str Import alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str Str Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore IfExp NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Return CompareIs NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Return BoolOpOr Call NameLoad NameLoad Str Call NameLoad NameLoad Str If NameLoad body Return CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return CompareEq NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpPow Num Num Assign NameStore BinOpMult BinOpMult Num Num Num Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareLtE Call NameLoad BinOpSub NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore TupleLoad UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return NameLoad Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot CompareIn NameLoad NameLoad UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return CompareEq NameLoad NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore NameLoad For NameStore NameLoad body If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Return NameLoad orelse Assign NameStore NameLoad For NameStore NameLoad body TryExcept body If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Break handlers ExceptHandler body Continue If UnaryOpNot NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad If UnaryOpNot NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list NameLoad
N/A N/A preggy 'like' assertions.  For use with `expect()` (see `preggy.core`).
 __future__ absolute_import print_function N/A re datetime datetime N/A difflib uuid UUID N/A N/A six string_types binary_type PY2 PY3 N/A N/A N/A ImportError N/A N/A warnings N/A N/A N/A warnings warn Ignoring six. Probably setup.py installing package. N/A numbers preggy assertion preggy utils N/A __all__ N/A to_be_like not_to_be_like N/A DATE_THRESHOLD 5.0 N/A RESET [m N/A RED [31m N/A GREEN [32m N/A YELLOW [33m N/A REMOVE_COLORS_REGEX N/A N/A re compile (\033|\x1b|\x03)\[([0-9]*[;])?[0-9]*m flags N/A re UNICODE N/A NORMALIZE_WHITESPACE_REGEX N/A N/A re compile \s+ flags N/A N/A N/A re UNICODE N/A re MULTILINE N/A re IGNORECASE N/A _filter_str N/A N/A N/A s N/A N/A N/A N/A N/A NORMALIZE_WHITESPACE_REGEX sub N/A N/A s lower strip compare N/A N/A first second N/A N/A N/A matcher N/A N/A difflib SequenceMatcher None first second N/A first N/A get_match_for_text matcher first True N/A second N/A get_match_for_text matcher second True N/A N/A matcher first second N/A get_match_for_text N/A N/A matcher text first N/A N/A N/A result N/A N/A COLOR_MAP N/A delete insert replace RED GREEN YELLOW N/A N/A tag i1 i2 j1 j2 N/A N/A matcher get_opcodes N/A N/A N/A start stop N/A first N/A i1 i2 N/A j1 j2 N/A to_append N/A text N/A start stop N/A N/A tag COLOR_MAP N/A N/A to_append N/A N/A join N/A N/A COLOR_MAP N/A tag to_append RESET N/A N/A N/A result append to_append N/A N/A N/A join result N/A _match_alike N/A N/A expected topic diff N/A False N/A N/A Determines the types of `expected` and `topic`, and calls the appropriate comparison function. N/A N/A topic None N/A N/A N/A expected None N/A N/A isinstance topic UUID N/A N/A N/A _compare_uuid expected topic N/A N/A isinstance topic N/A string_types N/A binary_type N/A N/A N/A _compare_strings expected topic N/A N/A isinstance topic N/A numbers Number N/A N/A N/A _compare_numbers expected topic N/A N/A isinstance topic N/A list tuple set N/A N/A N/A _compare_lists expected topic N/A N/A isinstance topic dict N/A N/A N/A _compare_dicts expected topic N/A N/A isinstance topic datetime N/A N/A N/A _compare_datetime expected topic N/A N/A N/A _is_comparable topic N/A _is_comparable expected N/A N/A N/A _compare_comparables expected topic N/A N/A RuntimeError N/A N/A Could not compare {expected} and {topic} format expected expected topic topic N/A _strip_string N/A N/A text N/A N/A N/A N/A text N/A N/A text N/A text N/A N/A utils fix_string text N/A text N/A N/A REMOVE_COLORS_REGEX sub text N/A text N/A _filter_str text N/A text N/A _is_comparable N/A N/A obj N/A N/A N/A PY2 N/A N/A N/A N/A hasattr obj __eq__ N/A hasattr obj __cmp__ N/A PY3 N/A N/A N/A N/A N/A obj __class__ __eq__ N/A object __eq__ N/A _compare_strings N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as strings.
    Allows some leeway.  (Strings don't have to exactly match.)

     N/A topic N/A _strip_string topic N/A expected N/A _strip_string expected N/A N/A expected N/A _filter_str topic N/A _compare_uuid N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as UUID. N/A topic N/A str topic N/A expected N/A str expected N/A N/A expected topic N/A __timedelta_to_seconds N/A N/A timedelta N/A N/A N/A ms N/A 10 6 N/A days N/A N/A 24 60 60 N/A ms_as_seconds N/A N/A float N/A timedelta microseconds ms N/A seconds N/A float N/A timedelta seconds N/A days_as_seconds N/A N/A float N/A timedelta days days N/A total_seconds N/A sum N/A ms_as_seconds seconds days_as_seconds N/A N/A abs total_seconds N/A _compare_datetime N/A N/A expected topic N/A N/A N/A N/A N/A __timedelta_to_seconds N/A topic expected DATE_THRESHOLD N/A _compare_numbers N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as Numbers. N/A FALSE_CONDITIONS N/A N/A N/A isinstance topic N/A numbers Number N/A N/A isinstance expected N/A numbers Number N/A N/A any FALSE_CONDITIONS N/A N/A False N/A N/A N/A float expected N/A float topic N/A _compare_dicts N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as dicts. N/A N/A N/A _match_dicts expected topic N/A _match_dicts topic expected N/A _match_dicts N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of all keys and values in `topic` and `expected`. N/A N/A k v N/A N/A expected items N/A N/A N/A N/A N/A k topic N/A N/A _match_alike N/A topic N/A k v N/A N/A False N/A True N/A _compare_lists N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as lists. N/A N/A N/A _match_lists expected topic N/A _match_lists topic expected N/A _compare_comparables N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness of `topic` and `expected` as comparable objects. N/A N/A N/A N/A expected topic N/A N/A N/A N/A False N/A _match_lists N/A N/A expected topic N/A N/A N/A Asserts the "like"-ness each item in of `topic` and `expected` (as lists or tuples). N/A item expected N/A N/A N/A isinstance item N/A list tuple N/A N/A found False N/A inner_item topic N/A N/A N/A N/A isinstance inner_item N/A list tuple N/A _compare_lists item inner_item N/A N/A found True N/A N/A N/A found N/A N/A False N/A N/A found False N/A t topic N/A N/A N/A N/A N/A item t N/A N/A found True N/A N/A N/A N/A N/A N/A N/A found N/A N/A False N/A True N/A to_be_like N/A N/A topic expected diff N/A True N/A N/A Asserts that `topic` is like (similar to) `expected`. Allows some leeway. N/A result N/A _match_alike expected topic diff diff N/A is_str N/A N/A N/A x N/A N/A isinstance x N/A string_types N/A binary_type N/A N/A result N/A N/A N/A N/A diff True N/A N/A is_str topic N/A is_str expected N/A N/A N/A first second N/A N/A _strip_string topic N/A _strip_string expected N/A N/A matcher first second N/A compare first second N/A N/A print N/A N/A print Expected strings to be equal, but they were different: N/A N/A print first N/A N/A print second N/A N/A print N/A N/A AssertionError N/A N/A Expected topic('{topic}') to be like '{expected}' format topic topic expected expected N/A assertion not_to_be_like N/A N/A topic expected diff N/A False N/A N/A Asserts that `topic` is NOT like (NOT similar to) `expected`. Allows some leeway. N/A result N/A _match_alike expected topic diff diff N/A result N/A N/A N/A AssertionError N/A N/A Expected topic('{topic}') not to be like '{expected}' format topic topic expected expected N/A assertion