Skip to content

Commit

Permalink
fix: fixed pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
changemyminds committed Mar 19, 2024
1 parent 570610b commit 2490650
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def fake_func(self):
span_context = self.get_current_span_context_for_test()
self._mock_span_contexts.append(span_context)

def get_current_span_context_for_test(self) -> trace.SpanContext:
@staticmethod
def get_current_span_context_for_test() -> trace.SpanContext:
return trace.get_current_span().get_span_context()

def print_square(self, num):
Expand Down

0 comments on commit 2490650

Please sign in to comment.