We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbb7e3 commit 4d5c598Copy full SHA for 4d5c598
tests/nexus/test_worker.py
@@ -3,6 +3,7 @@
3
import asyncio
4
import uuid
5
from datetime import timedelta
6
+from typing import Any
7
8
import nexusrpc.handler
9
import pytest
@@ -24,7 +25,7 @@ async def run(self, n: int) -> None:
24
25
service="MaxConcurrentTestService",
26
)
27
- coros = [
28
+ coros: list[Any] = [
29
nexus_client.execute_operation(
30
"op",
31
i,
@@ -51,7 +52,7 @@ async def test_max_concurrent_nexus_tasks(
51
52
if env.supports_time_skipping:
53
pytest.skip("Nexus tests don't work with Javas test server")
54
- barrier = asyncio.Barrier(num_nexus_operations)
55
+ barrier = asyncio.Barrier(num_nexus_operations) # type: ignore
56
57
@nexusrpc.handler.service_handler
58
class MaxConcurrentTestService:
0 commit comments