def METHOD_NAME(self):
    """Test exception is raised for negative probabilities."""
    probs = [[1.1, -0.1], [0, 1]]
    self.assertRaises(NoiseError, lambda: ReadoutError(probs))
    probs = [[0, 1], [1.1, -0.1]]
    self.assertRaises(NoiseError, lambda: ReadoutError(probs))