Skip to content

Commit 043e298

Browse files
committed
Skip threading test for <3.7
1 parent b4eb421 commit 043e298

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integrations/threading/test_threading.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import gc
2+
import sys
23
from concurrent import futures
34
from threading import Thread
45

@@ -124,6 +125,9 @@ def run(self):
124125
assert unreachable_objects == 0
125126

126127

128+
@pytest.mark.skipif(
129+
sys.version_info < (3, 7), reason="Test requires Python 3.7 or higher"
130+
)
127131
def test_double_patching(sentry_init, capture_events):
128132
sentry_init(default_integrations=False, integrations=[ThreadingIntegration()])
129133
events = capture_events()

0 commit comments

Comments
 (0)