Fix test for `info_from_p2p_addr`

It is because I removed some checks in the function. This checks should
be useless thanks to mypy
pull/365/head
mhchia 2019-12-24 18:08:33 +08:00
parent 3372c32432
commit 2287dc95be
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A
1 changed files with 0 additions and 2 deletions

View File

@ -25,8 +25,6 @@ def test_init_():
@pytest.mark.parametrize(
"addr",
(
pytest.param(None),
pytest.param(random.randint(0, 255), id="random integer"),
pytest.param(multiaddr.Multiaddr("/"), id="empty multiaddr"),
pytest.param(
multiaddr.Multiaddr("/ip4/127.0.0.1"),