def METHOD_NAME(self):
    a = ("a", "b", "c", "d")
    p = (0.25, 0.25, 0.25, 0.25)
    with self.assertRaises(AssertionError):
        choices_distribution_unique(a, p, length=5)
    samples = choices_distribution_unique(a, p, length=4)
    assert len(set(samples)) == len(samples)