def METHOD_NAME(self):
    # ensures that if futures propagation is available, an empty
    # context doesn't crash the system
    from .web.compat import ThreadPoolExecutor
    def job():
        with self.tracer.trace("job"):
            return 42
    executor = ThreadPoolExecutor(max_workers=3)
    yield executor.submit(job)
    traces = self.pop_traces()
    assert 1 == len(traces)
    assert 1 == len(traces[0])
    # this trace yields the execution of the thread
    span = traces[0][0]
    assert "job" == span.name