Would it be better to use `unittest.skipIf(has_ipv6, ...)`?