lisa.fuzz.Choices#
- class lisa.fuzz.Choices(n, xs, typ=None)[source]#
Bases:
Gen
Randomly choose
n
values amongxs
.- Parameters:
n (int) – Number of values to yield every time.
xs (collections.abc.Iterable) – Finite iterable of values to choose from.
typ (type) – Callable used to build the output from an iterable.
Methods
__await__()
inherited
Methods#
- Choices.__await__()#
Inherited method, see
lisa.fuzz.Gen.__await__()