def rowproxy_diff(old, new, expected_add_cnt=0, expected_del_cnt=0):

    if expected_add_cnt != len([x for x in new if x not in old]):
        return False
    elif expected_del_cnt !=  len([x for x in old if new not in x]):
        return False
    return True
dataset/ETHPy150Open kenfar/DataGristle/gristle/tests/test_metadata.py/rowproxy_diff/swapped operands of `not in`