We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8117d0 commit 8ec3623Copy full SHA for 8ec3623
1 file changed
tests/trio_async/workflow_test.py
@@ -1,5 +1,7 @@
1
+import sys
2
import uuid
3
4
+import pytest
5
import trio_asyncio
6
from temporalio.client import Client
7
from temporalio.worker import Worker
@@ -33,7 +35,11 @@ async def inside_trio(client: Client) -> list[str]:
33
35
task_queue=task_queue,
34
36
)
37
38
+ if sys.version_info[:2] < (3, 12):
39
+ pytest.skip("Trio support requires >= 3.12")
40
+
41
result = trio_asyncio.run(inside_trio, client)
42
43
assert result == [
44
"Hello, some-user! (from asyncio)",
45
"Hello, some-user! (from thread)",
0 commit comments