Stay organized with collections Save and categorize content based on your preferences.

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.