def METHOD_NAME(self):
    field = CIDRField()
    ip4 = u'192.168.0.0'
    result4 = field.to_python(ip4)
    assert ip4 == result4
    bip4 = b'192.168.0.0'
    bresult4 = field.to_python(bip4)
    assert ip4 == bresult4
    ip6 = u'1234:dead:beef::63'
    result6 = field.to_python(ip6)
    assert ip6 == result6
    bip6 = b'1234:dead:beef::63'
    bresult6 = field.to_python(bip6)
    assert ip6 == bresult6