[issue1384] Windows fix for inspect tests

Amaury Forgeot d'Arc report at bugs.python.org
Tue Nov 6 01:39:57 CET 2007


Amaury Forgeot d'Arc added the comment:

Yes, the patch is needed.
The problem arises when you run the python executable in different ways
WITHOUT deleting the .pyc files.

Example on my machine: Note that the exact path to run python is not the
same:

>cd C:\dev\python\py3k\PCbuild8
>del /s ..\*.pyc
>c:\dev\python\py3k\PCbuild8\win32debug\python_d.exe -E -tt
../lib/test/regrtest.py -v test_inspect
[test OK]
>C:\dev\python\py3k\PCbuild8\win32debug\python_d.exe -E -tt
../lib/test/regrtest.py -v test_inspect
[test FAILED]

If I always use the same path the tests succeed.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1384>
__________________________________


More information about the Python-bugs-list mailing list