Skip to content

Commit 4d5c598

Browse files
committed
Lint
1 parent 2dbb7e3 commit 4d5c598

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/nexus/test_worker.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import asyncio
44
import uuid
55
from datetime import timedelta
6+
from typing import Any
67

78
import nexusrpc.handler
89
import pytest
@@ -24,7 +25,7 @@ async def run(self, n: int) -> None:
2425
service="MaxConcurrentTestService",
2526
)
2627

27-
coros = [
28+
coros: list[Any] = [
2829
nexus_client.execute_operation(
2930
"op",
3031
i,
@@ -51,7 +52,7 @@ async def test_max_concurrent_nexus_tasks(
5152
if env.supports_time_skipping:
5253
pytest.skip("Nexus tests don't work with Javas test server")
5354

54-
barrier = asyncio.Barrier(num_nexus_operations)
55+
barrier = asyncio.Barrier(num_nexus_operations) # type: ignore
5556

5657
@nexusrpc.handler.service_handler
5758
class MaxConcurrentTestService:

0 commit comments

Comments
 (0)