def __exit__(self, exc_type, exc_val, exc_tb):
     OpenCensusSpan.set_current_tracer(self.orig_tracer)
     OpenCensusSpan.set_current_span(self.orig_current_span)
     tracing_context.current_span.set(self.orig_sdk_context_span)
     settings.tracing_implementation.unset_value()
     settings.tracing_should_only_propagate.unset_value()
     self.os_env.stop()
 def __exit__(self, exc_type, exc_val, exc_tb):
     OpenCensusSpan.set_current_tracer(self.orig_tracer)
     OpenCensusSpan.set_current_span(self.orig_current_span)
     settings.tracing_implementation.unset_value()
     self.os_env.stop()