def get_ip_version(network):
    if netaddr.IPNetwork(network).version == 6:
        return "IPv6"
    elif netaddr.IPNetwork(network).version == 4:
        return "IPv4"
tests that if the ratio of Cs to Ds is less than the golden ratio then strategy co-operates
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/utils.py/get_ip_version--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_mathematicalconstants.py/TestGolden.test_when_less_than_golder_ratio