async def METHOD_NAME(tracer):
    async def f1():
        with tracer.trace("f1"):
            raise Exception("f1 error")
    with pytest.raises(Exception, match="f1 error"):
        await f1()
    traces = tracer.pop_traces()
    assert 1 == len(traces)
    spans = traces[0]
    assert 1 == len(spans)
    span = spans[0]
    assert 1 == span.error
    assert "f1 error" == span.get_tag(ERROR_MSG)
    assert "Exception: f1 error" in span.get_tag("error.stack")