tff.test.with_contexts

Returns a decorator for parameterizing a test by a context.

*named_contexts Named parameters used to construct the with_context decorator; either a single iterable, or a list of tuples or dicts.

ValueError If no named contexts are passed to the decorator.