def test_numpy_slices_invalid_column_names_type():
    logger.info('Test incorrect column_names input')
    np_data = [1, 2, 3]
    with pytest.raises(TypeError) as err:
        de.NumpySlicesDataset(np_data, column_names=[1], shuffle=False)
    assert ("Argument column_names[0] with value 1 is not of type (<class 'str'>,)." in str(err.value))
def test_numpy_slices_invalid_column_names_type():
    logger.info('Test incorrect column_names input')
    np_data = [1, 2, 3]
    with pytest.raises(TypeError) as err:
        de.NumpySlicesDataset(np_data, column_names=[1], shuffle=False)
    assert ("Argument column_names[0] with value 1 is not of type (<class 'str'>,)." in str(err.value))