This decorator also calls isolated_context for you.
Using this as a class decorator will only wrap the functions declared directly
on that class, not on functions inherited from parent classes.
Args
*args
See _isolated_context_class and _isolated_context_callable
**kwargs
See _isolated_context_class and _isolated_context_callable
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This tool is a decorator, `both_context_modes`, designed to add subtests for non-default context modes."],["It automatically calls `isolated_context` to isolate the context."],["Using `both_context_modes` as a class decorator only impacts functions explicitly defined within that class."],["The function takes `*args` and `**kwargs`, with the same function as in `_isolated_context_class` and `_isolated_context_callable`."],["The function returns the raw function decorator."]]],[]]