Skip to content

Commit 590de96

Browse files
committed
not supported on <3.8
1 parent 2a10ba6 commit 590de96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/aiohttp/test_aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ async def kangaroo_handler(request):
312312
await client.get("/tricks/kangaroo?jump=high")
313313

314314
assert traces_sampler.call_count == 1
315-
sampling_context = traces_sampler.call_args.args[0]
315+
sampling_context = traces_sampler.call_args_list[0][0][0]
316316
assert isinstance(sampling_context, dict)
317317
assert re.match(
318318
r"http:\/\/127\.0\.0\.1:[0-9]{4,5}\/tricks\/kangaroo\?jump=high",

0 commit comments

Comments
 (0)