Skip to content

Commit 479c951

Browse files
remove testing code
1 parent 56550e2 commit 479c951

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

tests/integrations/starlette/test_starlette.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,10 @@
1313

1414
from sentry_sdk import capture_message, get_baggage, get_traceparent
1515
from 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+
)
2620
from sentry_sdk.utils import parse_version
2721

2822
import starlette

0 commit comments

Comments
 (0)