Skip to content

Commit 0feac07

Browse files
committed
Fix mypy error
1 parent 74122de commit 0feac07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nexus/test_type_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def test_invoke_by_operation_handler_wrong_input_type(self) -> None:
178178
)
179179
# assert-type-error-pyright: 'No overloads for "execute_operation" match'
180180
await nexus_client.execute_operation( # type: ignore
181-
MyServiceHandler.my_sync_operation,
181+
MyServiceHandler.my_sync_operation, # type: ignore[arg-type]
182182
# assert-type-error-pyright: 'Argument of type .+ cannot be assigned to parameter "input"'
183183
"wrong-input-type", # type: ignore
184184
)

0 commit comments

Comments
 (0)