def METHOD_NAME(mock_create, test_cube):
    """Test the original way 'extract_location' worked before adding the
    default SSL context, see
    https://github.com/ESMValGroup/ESMValCore/issues/2012 for more
    information."""
    mock_create.side_effect = ssl.SSLSyscallError
    extract_location(test_cube, scheme="nearest", location="Peñacaballera")
    mock_create.assert_called_once()