Skip to content

Commit e1477ec

Browse files
committed
skip due to lack of asyncio.Barrier
1 parent 4d5c598 commit e1477ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/nexus/test_worker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import asyncio
4+
import sys
45
import uuid
56
from datetime import timedelta
67
from typing import Any
@@ -52,6 +53,9 @@ async def test_max_concurrent_nexus_tasks(
5253
if env.supports_time_skipping:
5354
pytest.skip("Nexus tests don't work with Javas test server")
5455

56+
if sys.version_info < (3, 11):
57+
pytest.skip("Test requires Python 3.11+")
58+
5559
barrier = asyncio.Barrier(num_nexus_operations) # type: ignore
5660

5761
@nexusrpc.handler.service_handler

0 commit comments

Comments
 (0)