

def test_should_not_generate_data_from_invalid_rows(self):
    columns_list = [0, (- 1)]
    self.assertRaises(ValueError, sdg.predictive_columns, self.M_c, self.X_L, self.X_D, columns_list)
    columns_list = [0, 3]
    self.assertRaises(ValueError, sdg.predictive_columns, self.M_c, self.X_L, self.X_D, columns_list)

dataset/ETHPy150Open probcomp/crosscat/src/tests/unit_tests/test_synthetic_data_generator.py TestPredictiveColumns.test_should_not_generate_data_from_invalid_rows/original