Skip to content

Commit 01b4687

Browse files
authored
Remove flaky test (#3626)
1 parent 3945fc1 commit 01b4687

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Diff for: tests/test_basics.py

-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
setup_integrations,
3535
)
3636
from sentry_sdk.integrations.logging import LoggingIntegration
37-
from sentry_sdk.integrations.redis import RedisIntegration
3837
from sentry_sdk.integrations.stdlib import StdlibIntegration
3938
from sentry_sdk.scope import add_global_event_processor
4039
from sentry_sdk.utils import get_sdk_name, reraise
@@ -887,13 +886,6 @@ def test_functions_to_trace_with_class(sentry_init, capture_events):
887886
assert event["spans"][1]["description"] == "tests.test_basics.WorldGreeter.greet"
888887

889888

890-
def test_redis_disabled_when_not_installed(sentry_init):
891-
with ModuleImportErrorSimulator(["redis"], ImportError):
892-
sentry_init()
893-
894-
assert sentry_sdk.get_client().get_integration(RedisIntegration) is None
895-
896-
897889
def test_multiple_setup_integrations_calls():
898890
first_call_return = setup_integrations([NoOpIntegration()], with_defaults=False)
899891
assert first_call_return == {NoOpIntegration.identifier: NoOpIntegration()}

0 commit comments

Comments
 (0)