Fix some typos and annotations

This commit is contained in:
Josh Wu
2026-01-05 23:21:12 +08:00
parent 566ef967f4
commit 4c3746a5b2
6 changed files with 65 additions and 55 deletions

View File

@@ -57,15 +57,13 @@ async def test_self_disconnection():
await two_devices.setup_connection()
await two_devices.connections[0].disconnect()
await async_barrier()
assert two_devices.connections[0] is None
assert two_devices.connections[1] is None
assert not two_devices.connections
two_devices = TwoDevices()
await two_devices.setup_connection()
await two_devices.connections[1].disconnect()
await async_barrier()
assert two_devices.connections[0] is None
assert two_devices.connections[1] is None
assert not two_devices.connections
# -----------------------------------------------------------------------------