[issue22811] _top_level_dir state leaks on defaultTestLoader

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods ___ Python tracker

[issue22811] _top_level_dir state leaks on defaultTestLoader

2019-08-12 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that this issue is a duplicate of bpo-15010. -- nosy: +ZackerySpytz ___ Python tracker ___ __

[issue22811] _top_level_dir state leaks on defaultTestLoader

2014-11-06 Thread Robert Collins
Changes by Robert Collins : -- components: +Library (Lib) versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22811] _top_level_dir state leaks on defaultTestLoader

2014-11-06 Thread Robert Collins
New submission from Robert Collins: TestProgram uses defaultTestLoader to load tests. Calling discover() on a TestLoader sets _top_level_dir. Calling discover with no top_level_dir implictly sets _top_level_dir but only the first time: the second time it is called with a different start_dir th