Skip to content

Commit fc03fdd

Browse files
author
Michael Brewer
committed
test(data-classes): only run async test on new python versions
1 parent 87fb848 commit fc03fdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/functional/appsync/test_appsync_resolver_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import datetime
33
import json
44
import os
5+
import sys
56

67
import pytest
78

@@ -145,6 +146,7 @@ def func_yield():
145146
assert next(result) == "value"
146147

147148

149+
@pytest.mark.skipif(sys.version_info < (3, 8), reason="only for python versions that support asyncio.run")
148150
def test_resolver_async():
149151
# GIVEN
150152
app = AppSyncResolver()

0 commit comments

Comments
 (0)