When used with a class, it will run each test function in its own context.
It will also run setUp, tearDown, and doCleanups in that context by default.
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."],[[["`isolated_context` is a decorator for test functions or classes, ensuring they run in a clean context."],["When applied to a class, `isolated_context` runs each test function in its own separate context."],["The decorator also runs `setUp`, `tearDown`, and `doCleanups` within that isolated context by default."],["Arguments for the `isolated_context` function are detailed in `_isolated_context_class` and `_isolated_context_callable`."]]],[]]