[issue24055] unittest package-level set up & tear down module

2021-10-22 Thread Irit Katriel
Irit Katriel added the comment: This was added under issue30108. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed superseder: -> test_site modifies sys.path ___ Python tracker

[issue24055] unittest package-level set up & tear down module

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Personally I'm very skeptical of all the multi-test setup facilties because of the very poor interactions with parallel testing that this basic approach has. But - we haven't yet brought in something sensible to let us deprecate setUpModule and setUpClass, so

[issue24055] unittest package-level set up & tear down module

2015-04-24 Thread Demian Brecht
New submission from Demian Brecht: There's a feature available via nose that might be nice to have in unittest: package-level setup and teardown functions. Using nose, I can define a setUpModule() method in a test package's __init__.py and it will execute it during the test run. This is helpfu