Commit d1c90c7d authored by Yuta Okamoto's avatar Yuta Okamoto Committed by oroulet

fix ruff E721 warning

parent b80cd4d7
...@@ -546,7 +546,7 @@ async def test_unsubscribe_two_objects_consecutively(opc): ...@@ -546,7 +546,7 @@ async def test_unsubscribe_two_objects_consecutively(opc):
] ]
sub = await opc.opc.create_subscription(100, handler) sub = await opc.opc.create_subscription(100, handler)
handles = await sub.subscribe_data_change(nodes, queuesize=1) handles = await sub.subscribe_data_change(nodes, queuesize=1)
assert type(handles) is list assert isinstance(handles, list)
await handler.done() await handler.done()
for handle in handles: for handle in handles:
await sub.unsubscribe(handle) await sub.unsubscribe(handle)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment