[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2021-11-27 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2019-08-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2019-08-12 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.2, Python 3.3 ___ Python tracker ___

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2019-08-12 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14963 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15242 ___ Python tracker ___

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-20 Thread Igor Sobreira
Igor Sobreira i...@igorsobreira.com added the comment: My previous patch is incorrect, talking to voidspace on irc self._top_leve_dir should be reverted to it's previous value so when discover is called the original value should be stored, then discovery done, and then the original restored

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-20 Thread Igor Sobreira
Igor Sobreira i...@igorsobreira.com added the comment: Updated patch to restore previous value of ._top_level_dir on discover() done. And added a unit test. -- Added file: http://bugs.python.org/file26458/restore_top_level_dir_to_previous_value.patch

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-07-19 Thread Igor Sobreira
Igor Sobreira i...@igorsobreira.com added the comment: Hello. I've attached a patch to cleanup self._top_level_dir in the end of discover(). Is that the expected behavior or I'm on the wrong track? -- keywords: +patch nosy: +igorsobreira Added file:

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-06-05 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: During the execution of the load tests protocol, the loader instance will set its _top_level_dir attribute, and this will persist if the loader is passed on to another load_tests method. If that method does not specify a top_level_dir