def METHOD_NAME(self):
    # create the TracedCache instance for a Flask app
    Cache = get_traced_cache(self.tracer, service=self.SERVICE)
    app = Flask(__name__)
    cache = Cache(app, config={"CACHE_TYPE": "simple"})
    # make a wrong call
    with pytest.raises(TypeError) as ex:
        cache.delete()
    # ensure that the error is not caused by our tracer
    assert "delete()" in ex.value.args[0]
    assert "argument" in ex.value.args[0]
    spans = self.pop_spans()
    # an error trace must be sent
    assert len(spans) == 1
    span = spans[0]
    assert span.service == self.SERVICE
    assert span.resource == "delete"
    assert span.name == "flask_cache.cmd"
    assert span.span_type == "cache"
    assert span.error == 1