[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2015-10-02 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Éric do you intend following up on this? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12314 ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-10-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Idea: when a regrtest check fails, the test is run again but a WatchfulMixin is injected into the test case’s bases, so that setUp and tearDown call the right methods. This would be more efficient than always running with a watchful test

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-09-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9c61f46ea6b4 by Éric Araujo in branch 'default': Make regrtest look at internal dicts in sysconfig. http://hg.python.org/cpython/rev/9c61f46ea6b4 -- nosy: +python-dev ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I’d like regrtest to tell me what exactly was changed, and where. regrtests has many tests (you give some examples: os.environ, sys.path), run all tests after calling a single test function would make regrtest slower. We can add

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-15 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I don't think this is something that belongs in unittest - it's not something particularly useful (or at least particularly requested) outside of the python test suite. No reason that a WatchfulTestRunner couldn't live in regrtest.

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Sounds like a plan. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12314 ___ ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: When regrtest tells me that os.environ was modified by test_packaging, it’s very hard to find which test is responsible. The -vv output is hard to read: it prints four dictionaries, which I have to visually delineate, copy, paste,

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Improvements are welcome, the whole thing was a QnD hack that has been evolving over time...maybe there's some way to reuse unittest's assertEqual machinery? I also wonder if the whole environment-changed thing should be moved into

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - needs patch type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12314 ___

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: maybe there's some way to reuse unittest's assertEqual machinery? Hum, I think the diff functionality is cleanly separated in a (private) method, so we could get diff for free. I also wonder if the whole environment-changed thing should be