projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee4a5e0
)
Fix lib/test/__main__.py to work even outside a Python build.
author
Michael Foord
<fuzzyman@voidspace.org.uk>
Fri, 3 Dec 2010 10:59:15 +0000
(10:59 +0000)
committer
Michael Foord
<fuzzyman@voidspace.org.uk>
Fri, 3 Dec 2010 10:59:15 +0000
(10:59 +0000)
Lib/test/__main__.py
patch
|
blob
|
history
diff --git
a/Lib/test/__main__.py
b/Lib/test/__main__.py
index 251ac7c4cb7917090e12685a1754f03dab1df3f6..180072acdc70f5b57ccbec08895171ba017c80f9 100644
(file)
--- a/
Lib/test/__main__.py
+++ b/
Lib/test/__main__.py
@@
-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.