Skip to content

Commit

Permalink
modify docs test results
Browse files Browse the repository at this point in the history
  • Loading branch information
bourbonkk committed Jan 4, 2024
1 parent 69c15e8 commit f8a0b5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ async def trace_coroutine(self, coro):
finally:
self.record_process(start, attr, span, exception)

def trace_future(self, future) -> futures.Future:
def trace_future(self, future):
start = default_timer()
span = (
self._tracer.start_span(f"{ASYNCIO_PREFIX} future")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def test():
for span in spans:
if span.name == "root":
self.assertEqual(span.parent, None)
if span.name == "asyncio.future":
if span.name == "asyncio future":
self.assertNotEqual(span.parent.trace_id, 0)

for metric in (
Expand Down

0 comments on commit f8a0b5e

Please sign in to comment.