From 1230f956b4f159c942b7afa4898473deedfe9f14 Mon Sep 17 00:00:00 2001 From: Neel Shah Date: Thu, 16 Jul 2026 14:45:32 +0200 Subject: [PATCH] test: Fix flaky decorator test --- tests/tracing/test_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tracing/test_decorator.py b/tests/tracing/test_decorator.py index 9852d950ab..0cf4ead871 100644 --- a/tests/tracing/test_decorator.py +++ b/tests/tracing/test_decorator.py @@ -77,7 +77,7 @@ async def test_trace_decorator_async_no_trx(): start_child_span_decorator = create_span_decorator() result2 = await start_child_span_decorator(my_async_example_function)() - fake_debug.assert_called_once_with( + fake_debug.assert_any_call( "Cannot create a child span for %s. " "Please start a Sentry transaction before calling this function.", "test_decorator.my_async_example_function",