Commit 97cbb76e authored by Michael Foord's avatar Michael Foord

Fix lib/test/__main__.py to work even outside a Python build.

parent ee4a5e0c
......@@ -5,6 +5,8 @@ import sysconfig
from test import support
from test import regrtest
TEMPDIR = regrtest.TEMPDIR
# findtestdir() gets the dirname out of __file__, so we have to make it
# absolute before changing the working directory.
# For example __file__ may be relative when running trace or profile.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment