def METHOD_NAME(item, call):
    outcome = yield
    rep = outcome.get_result()
    if rep.when == "call":
        if rep.outcome == "failed":
            change_some_failed_to_skipped(item, rep)
        assert diff_report is not None
        diff_report.record_result(item.nodeid, rep.outcome)