Skip to content

Commit d749a0b

Browse files
committed
Ignore 2 instances of PT017
1 parent fd80deb commit d749a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/framework_grpc/test_clients.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ def _test_client():
125125
_test_client()
126126
except grpc.RpcError as e:
127127
if raises_exception:
128-
assert f"{service_method_type}: Hello World" in e.details()
128+
assert f"{service_method_type}: Hello World" in e.details() # noqa: PT017
129129
elif cancel:
130-
assert e.code() == grpc.StatusCode.CANCELLED
130+
assert e.code() == grpc.StatusCode.CANCELLED # noqa: PT017
131131
else:
132132
raise
133133
except grpc.FutureCancelledError:

0 commit comments

Comments
 (0)