We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f673c6c commit e7b6d44Copy full SHA for e7b6d44
instrumentation/opentelemetry-instrumentation-threading/tests/test_threading.py
@@ -117,7 +117,8 @@ def fake_func(self):
117
span_context = self.get_current_span_context_for_test()
118
self._mock_span_contexts.append(span_context)
119
120
- def get_current_span_context_for_test(self) -> trace.SpanContext:
+ @staticmethod
121
+ def get_current_span_context_for_test() -> trace.SpanContext:
122
return trace.get_current_span().get_span_context()
123
124
def print_square(self, num):
0 commit comments