Update tests/interop/utils.py

Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
Kevin Mai-Husan Chia 2019-09-04 20:38:38 +08:00 committed by GitHub
parent b72c489f4e
commit 51d547ccc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ async def _is_peer(peer_id: ID, node: TDaemonOrHost) -> bool:
async def connect(a: TDaemonOrHost, b: TDaemonOrHost) -> None:
# Type check
err_msg = (
f"Type of type(a)={type(a)} or type(b)={type(b)} is wrong."
f"Type of a={type(a)} or type of b={type(b)} is wrong."
"Should be either `IHost` or `Daemon`"
)
assert all(