Skip to content

Commit

Permalink
Fix test failures involving contextvars. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-feld authored and reyang committed Aug 21, 2019
1 parent 20011c5 commit cb4fc12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opentelemetry-sdk/tests/trace/test_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def test_start_span_explicit(self):
self.assertIsNotNone(child.end_time)

def test_span_members(self):
context = contextvars.ContextVar('test_span_members')
tracer = trace.Tracer(context)
tracer = trace.Tracer('test_span_members')

other_context1 = trace_api.SpanContext(
trace_id=trace.generate_trace_id(),
Expand Down

0 comments on commit cb4fc12

Please sign in to comment.