Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed May 5, 2020
1 parent 3480e41 commit 885228c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/tests/trace/test_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def test_start_as_current_span_implicit(self):

with tracer.start_as_current_span("child") as child:
self.assertIs(trace_api.get_current_span(), child)
self.assertIs(child.parent, root)
self.assertIs(child.parent, root.get_context())

# After exiting the child's scope the parent should become the
# current span again.
Expand Down

0 comments on commit 885228c

Please sign in to comment.