Skip to content

Commit e7b6d44

Browse files
committed
fix: fixed pylint issue
1 parent f673c6c commit e7b6d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation/opentelemetry-instrumentation-threading/tests/test_threading.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def fake_func(self):
117117
span_context = self.get_current_span_context_for_test()
118118
self._mock_span_contexts.append(span_context)
119119

120-
def get_current_span_context_for_test(self) -> trace.SpanContext:
120+
@staticmethod
121+
def get_current_span_context_for_test() -> trace.SpanContext:
121122
return trace.get_current_span().get_span_context()
122123

123124
def print_square(self, num):

0 commit comments

Comments
 (0)