Message121918
Attaching a patch to unittest/test/test_program.py that fixes the sys.path warning in regrtest
What happens is that with the new capability added to unittest (running discovery when called as -m without args), a few tests in test_program now cause discovery to run. It's not a problem, but discovery plays with sys.path, which regrtest doesn't like. So I added restoration of sys.path to these tests in a manner similar to what the test/test_discovery.py test does. |
|
Date |
User |
Action |
Args |
2010-11-21 13:22:23 | eli.bendersky | unlink | issue10470 messages |
2010-11-21 12:49:20 | eli.bendersky | set | recipients:
+ eli.bendersky, eric.araujo, michael.foord, duncf |
2010-11-21 12:49:20 | eli.bendersky | set | messageid: <1290343760.57.0.451997474215.issue10470@psf.upfronthosting.co.za> |
2010-11-21 12:49:19 | eli.bendersky | link | issue10470 messages |
2010-11-21 12:49:19 | eli.bendersky | create | |
|