Skip to content

Commit 3c2451d

Browse files
lint and fix test
1 parent a1386b0 commit 3c2451d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def _should_be_included(
219219

220220

221221
def add_source(span, project_root, in_app_include, in_app_exclude):
222+
# type: (sentry_sdk.tracing.Span, Optional[str], Optional[list[str]], Optional[list[str]]) -> None
222223
"""
223224
Adds OTel compatible source code information to the span
224225
"""

tests/integrations/stdlib/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def overwrite_timestamps_putrequest(self, *args, **kwargs):
601601

602602
assert (
603603
data.get(SPANDATA.CODE_FUNCTION)
604-
== "test_query_source_if_duration_over_threshold"
604+
== "test_request_source_if_duration_over_threshold"
605605
)
606606

607607

0 commit comments

Comments
 (0)