Skip to content

Commit a3714b0

Browse files
committed
add missing 3.7 decorators in logs tests
1 parent 641214c commit a3714b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_logs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ def record_lost_event(reason, data_category=None, item=None, *, quantity=1):
550550
}
551551

552552

553+
@minimum_python_37
553554
def test_log_gets_attributes_from_scopes(sentry_init, capture_envelopes):
554555
sentry_init(enable_logs=True)
555556

@@ -576,6 +577,7 @@ def test_log_gets_attributes_from_scopes(sentry_init, capture_envelopes):
576577
assert "current.attribute" not in log2["attributes"]
577578

578579

580+
@minimum_python_37
579581
def test_log_attributes_override_scope_attributes(sentry_init, capture_envelopes):
580582
sentry_init(enable_logs=True)
581583

0 commit comments

Comments
 (0)