File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11import concurrent .futures as cf
2+ import sys
3+
24import pytest
35
46import sentry_sdk
@@ -78,10 +80,11 @@ def task(flag_key):
7880 }
7981
8082
83+ @pytest .mark .skipif (sys .version_info < (3 , 7 ), reason = "requires python3.7 or higher" )
8184def test_featureflags_integration_asyncio (
8285 sentry_init , capture_events , uninstall_integration
8386):
84- asyncio = pytest .importorskip ("asyncio" ) # Only available in Python 3.7+.
87+ asyncio = pytest .importorskip ("asyncio" )
8588
8689 uninstall_integration (FeatureFlagsIntegration .identifier )
8790 sentry_init (integrations = [FeatureFlagsIntegration ()])
Original file line number Diff line number Diff line change 11import concurrent .futures as cf
2+ import sys
3+
24import ldclient
35import pytest
46
@@ -107,12 +109,13 @@ def task(flag_key):
107109 }
108110
109111
112+ @pytest .mark .skipif (sys .version_info < (3 , 7 ), reason = "requires python3.7 or higher" )
110113def test_launchdarkly_integration_asyncio (
111114 sentry_init , capture_events , uninstall_integration
112115):
113116 """Assert concurrently evaluated flags do not pollute one another."""
114117
115- asyncio = pytest .importorskip ("asyncio" ) # Only available in Python 3.7+.
118+ asyncio = pytest .importorskip ("asyncio" )
116119
117120 td = TestData .data_source ()
118121 client = LDClient (config = Config ("sdk-key" , update_processor_class = td ))
Original file line number Diff line number Diff line change 11import concurrent .futures as cf
2+ import sys
3+
24import pytest
35
46from openfeature import api
@@ -91,12 +93,13 @@ def task(flag):
9193 }
9294
9395
96+ @pytest .mark .skipif (sys .version_info < (3 , 7 ), reason = "requires python3.7 or higher" )
9497def test_openfeature_integration_asyncio (
9598 sentry_init , capture_events , uninstall_integration
9699):
97100 """Assert concurrently evaluated flags do not pollute one another."""
98101
99- asyncio = pytest .importorskip ("asyncio" ) # Only available in Python 3.7+.
102+ asyncio = pytest .importorskip ("asyncio" )
100103
101104 uninstall_integration (OpenFeatureIntegration .identifier )
102105 sentry_init (integrations = [OpenFeatureIntegration ()])
You can’t perform that action at this time.
0 commit comments