This commit is contained in:
fanhaoxuee
2025-10-29 01:59:03 +08:00
parent b68b09148d
commit b4369f4531

View File

@@ -5,6 +5,7 @@
# @Email : fanen.lhy@antgroup.com
# @FileName: test_framework_context.py
import asyncio
import queue
import time
import threading
@@ -28,7 +29,7 @@ def add(q: queue.Queue):
async def async_add(q: queue.Queue):
add(q)
await asyncio.get_event_loop().run_in_executor(None, add, q)
@pytest.mark.asyncio