Message113153
Looking at Lib/test/regrtest.py:
if __name__ == '__main__':
# Simplification for findtestdir().
assert __file__ == os.path.abspath(sys.argv[0])
I'm not sure regrtest.py is prepared to be run from trace at all. Note that this error also happens when running 'python -m profile regrtest.py', so it's rather regrtest.py specific than trace.py specific.
Anyway, trace.py itself currently passes the cmd-line argument as __file__ and not its full path, which causes the breakage in regrtest.py. The full path *could* be easily passed, but I think we should address this problem from regrtest.py's side. |
|
Date |
User |
Action |
Args |
2010-08-07 06:50:56 | eli.bendersky | set | recipients:
+ eli.bendersky, belopolsky |
2010-08-07 06:50:55 | eli.bendersky | set | messageid: <1281163855.6.0.447262951039.issue9323@psf.upfronthosting.co.za> |
2010-08-07 06:50:53 | eli.bendersky | link | issue9323 messages |
2010-08-07 06:50:53 | eli.bendersky | create | |
|