File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
tests/integrations/starlette Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 1313
1414from sentry_sdk import capture_message , get_baggage , get_traceparent
1515from sentry_sdk .integrations .asgi import SentryAsgiMiddleware
16- with warnings .catch_warnings ():
17- # Error on deprecation-type warnings related to python_multipart, which are
18- # probably about migrating from "import multipart" to "import
19- # python_multipart".
20- for w in (PendingDeprecationWarning , DeprecationWarning ):
21- warnings .filterwarnings ("error" , ".*python_multipart.*" , category = w )
22- from sentry_sdk .integrations .starlette import (
23- StarletteIntegration ,
24- StarletteRequestExtractor ,
25- )
16+ from sentry_sdk .integrations .starlette import (
17+ StarletteIntegration ,
18+ StarletteRequestExtractor ,
19+ )
2620from sentry_sdk .utils import parse_version
2721
2822import starlette
You can’t perform that action at this time.
0 commit comments