def test_ipv6_address_invalid(): with pytest.raises(netaddr.AddrFormatError): proxenos.node.ipv6_address('256.256.256.256', resolve=False)