Skip to content

Commit

Permalink
Use correct attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jan 10, 2020
1 parent f007fce commit 6fcfed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/tests/trace/test_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,9 @@ def __init__(self):
def __enter__(self):
return self.span_context.__enter__()

def __exit__(self, *args):
def __exit__(self, type_, value, traceback):
with self.test.assertLogs(level=WARNING):
self.span_context.__exit__(*args)
self.span_context.__exit__(type_, value, traceback)

with ContextWrapper() as root:

Expand Down

0 comments on commit 6fcfed7

Please sign in to comment.