Skip to content

Commit dfe242e

Browse files
authored
test: Fix flaky decorator test (#6830)
1 parent a7bb857 commit dfe242e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/tracing/test_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def test_trace_decorator_async_no_trx():
7777

7878
start_child_span_decorator = create_span_decorator()
7979
result2 = await start_child_span_decorator(my_async_example_function)()
80-
fake_debug.assert_called_once_with(
80+
fake_debug.assert_any_call(
8181
"Cannot create a child span for %s. "
8282
"Please start a Sentry transaction before calling this function.",
8383
"test_decorator.my_async_example_function",

0 commit comments

Comments
 (0)