def test_numpy_slices_invalid_column_names_string():
    logger.info('Test incorrect column_names input')
    np_data = [1, 2, 3]
    with pytest.raises(ValueError) as err:
        de.NumpySlicesDataset(np_data, column_names=[''], shuffle=False)
    assert ('column_names[0] should not be empty' in str(err.value))
def test_numpy_slices_invalid_column_names_string():
    logger.info('Test incorrect column_names input')
    np_data = [1, 2, 3]
    with pytest.raises(ValueError) as err:
        de.NumpySlicesDataset(np_data, column_names=[], shuffle=False)
    assert ('column_names[0] should not be empty' in str(err.value))