netaddr (and its underlying libc inet_pton) produces different representations of IPv4-compat addresses for different platforms. Linux: >>> netaddr.IPAddress("::2") IPAddress('::2') >>> OSX: >>> netaddr.IPAddress("::2") IPAddress('::0.0.0.2') >>> As our API assumes Linux's way, skip affected test cases on the other platforms. Conflicts: neutron/tests/tools.py Related-Bug: #1484837 Change-Id: I89e1822bb92dfcf8772bba1a3edf908c89550119changes/28/240928/1
parent
bcdaca33be
commit
445f5a4ad6
Loading…
Reference in new issue