def METHOD_NAME(value):
    mock_cell = mock.MagicMock()
    mock_cell.value = value
    try:
        mock_cell.value = int(value)
        mock_cell.data_type = 'n'
    except ValueError:
        mock_cell.data_type = 's'
    return mock_cell