'IP address with extra segment'

@mock.patch('socket.inet_pton')
def test_ipv4_no_inet_pton_invalid_address_3(self, mock_inet_pton):

    address = '127.0.0.123.123'
    mock_inet_pton.side_effect = AttributeError
    with self.assertRaises(OptionValidationError):
        validators.ipv4(address)
