Skip to content

Commit 17f33b8

Browse files
committed
Ruff.
1 parent c2dca69 commit 17f33b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/internal/test_serverless.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import pytest
21
import sys
32

3+
import pytest
4+
45
from ddtrace.internal.serverless import in_azure_function
56
from ddtrace.internal.serverless import in_gcp_function
67
from tests.utils import override_env
@@ -132,7 +133,7 @@ def find_spec(self, fullname, *args):
132133
"ddtrace.profiling",
133134
"profiler",
134135
marks=pytest.mark.xfail(
135-
reason="import throws error AttributeError: module 'asyncio.events' has no attribute 'BaseDefaultEventLoopPolicy'",
136+
reason="throws AttributeError: module 'asyncio.events' has no attribute 'BaseDefaultEventLoopPolicy'",
136137
condition=sys.version_info >= (3, 14),
137138
),
138139
),

0 commit comments

Comments
 (0)