Skip to content

Commit 4e42b9e

Browse files
committed
Fix test
1 parent d862254 commit 4e42b9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stubs/grpcio/@tests/test_cases/check_handler_inheritance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def service(self, handler_call_details: grpc.HandlerCallDetails) -> grpc.RpcMeth
3030

3131

3232
h = ServiceHandler()
33+
hcd = cast(grpc.HandlerCallDetails, None)
3334
ctx = cast(grpc.ServicerContext, None)
34-
svc = h.service(grpc.HandlerCallDetails())
35+
svc = h.service(hcd)
3536
if svc is not None and svc.unary_unary is not None:
3637
svc.unary_unary(Request(), ctx)

0 commit comments

Comments
 (0)