Louie Lu added the comment: Add unittest. Since IPv6 do not support prefix netmask ('ffff:ff00::'), it have only test like this:
>>> a = ipaddress.ip_interface(('dead:beaf::', '32')) >>> b = ipaddress.ip_interface('dead:beaf::/32') >>> str(a) == str(b) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com