def tests_bad_weights_should_raise_exception(self):
		# weights do not sum to 1
		self.assertRaises(ValueError, sdg.generate_separated_multinomial_weights,
			[.2]*4, .5)
dataset/ETHPy150Open probcomp/crosscat/src/tests/unit_tests/test_synthetic_data_generator.py/TestsGenerateSeparatedMultinomialWeights.tests_bad_weights_should_raise_exception/original