PyDocs

Nav

Development Tools

isolation.runningInSubprocess

True while the code runs in the isolated subprocess spawned by runInSubprocess(), and False otherwise (including in the parent process and in a normal, non-isolated test run). Fixtures such as setUp(), tearDown(), setUpClass(), tearDownClass(), setUpModule() and tearDownModule() can test it to choose which code to run in the subprocess.
0 Examples
No examples for test.support/isolation.runningInSubprocess.
See Also
No see-alsos for test.support/isolation.runningInSubprocess
0 Notes
No notes for isolation.runningInSubprocess