We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c0f60 commit c5dcb61Copy full SHA for c5dcb61
tests/test_prefect.py
@@ -216,7 +216,8 @@ async def run_complex_agent() -> Response:
216
217
# Prefect sets the `traceparent` header, so we explicitly disable distributed tracing for the tests to avoid the warning,
218
# but we can't set that configuration for the capfire fixture, so we ignore the warning here.
219
- with warnings.catch_warnings(action='ignore', category=RuntimeWarning):
+ with warnings.catch_warnings():
220
+ warnings.filterwarnings('ignore', category=RuntimeWarning)
221
output = await run_complex_agent()
222
assert output == snapshot(
223
Response(
0 commit comments