From 74270fb3bfbabacaea3d0d9861c7ba394cbb7413 Mon Sep 17 00:00:00 2001 From: vageeshan Date: Tue, 7 Nov 2023 02:38:51 -0800 Subject: [PATCH] removing redundant code --- tests/integrations/django/test_basic.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/integrations/django/test_basic.py b/tests/integrations/django/test_basic.py index 08fdf37eaf..a323d8c922 100644 --- a/tests/integrations/django/test_basic.py +++ b/tests/integrations/django/test_basic.py @@ -972,14 +972,7 @@ def test_middleware_spans_disabled(sentry_init, client, capture_events): assert not len(transaction["spans"]) -if DJANGO_VERSION >= (1, 10): - EXPECTED_SIGNALS_SPANS = """\ -- op="http.server": description=null - - op="event.django": description="django.db.reset_queries" - - op="event.django": description="django.db.close_old_connections"\ -""" -else: - EXPECTED_SIGNALS_SPANS = """\ +EXPECTED_SIGNALS_SPANS = """\ - op="http.server": description=null - op="event.django": description="django.db.reset_queries" - op="event.django": description="django.db.close_old_connections"\