Skip to content

Commit 1d37d0f

Browse files
committed
gate behind 3.7
1 parent e311d5c commit 1d37d0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_logs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ def test_logs_tied_to_spans(sentry_init, capture_envelopes):
342342
assert logs[0]["span_id"] == span.span_id
343343

344344

345+
@minimum_python_37
345346
def test_auto_flush_logs_after_100(sentry_init, capture_envelopes):
346347
"""
347348
If you log >100 logs, it should automatically trigger a flush.
@@ -360,6 +361,7 @@ def test_auto_flush_logs_after_100(sentry_init, capture_envelopes):
360361
raise AssertionError("200 logs were never flushed after five seconds")
361362

362363

364+
@minimum_python_37
363365
def test_log_user_attributes(sentry_init, capture_envelopes):
364366
"""User attributes are sent if enable_logs is True and send_default_pii is True."""
365367
sentry_init(enable_logs=True, send_default_pii=True)
@@ -382,6 +384,7 @@ def test_log_user_attributes(sentry_init, capture_envelopes):
382384
}
383385

384386

387+
@minimum_python_37
385388
def test_log_no_user_attributes_if_no_pii(sentry_init, capture_envelopes):
386389
"""User attributes are not if PII sending is off."""
387390
sentry_init(enable_logs=True, send_default_pii=False)

0 commit comments

Comments
 (0)