Message73051
I cannot create patch now, but test_site error comes from same reason.
>test_support.TESTFN is /tmp/@test on cygwin
After I applied following adhok patch, test passed.
Index: Lib/test/test_site.py
===================================================================
--- Lib/test/test_site.py (revision 66385)
+++ Lib/test/test_site.py (working copy)
@@ -126,7 +126,7 @@
class PthFile(object):
"""Helper class for handling testing of .pth files"""
- def __init__(self, filename_base=TESTFN, imported="time",
+ def __init__(self, filename_base="@test", imported="time",
good_dirname="__testdir__", bad_dirname="__bad"):
"""Initialize instance variables"""
self.filename = filename_base + ".pth"
site.py's addpackage() is doing
fullname = os.path.join(sitedir, name)
and on my cygwin, this equals to
os.path.join(
"/home/WhiteRabbit/python-dev/trunk/lib/test",
"/tmp/@test.pth") #=> "/tmp/@test.pth"
probably this is not good. (I cannot figure out what site.py is doing
though) |
|
Date |
User |
Action |
Args |
2008-09-11 18:59:22 | ocean-city | set | recipients:
+ ocean-city |
2008-09-11 18:59:22 | ocean-city | set | messageid: <1221159562.81.0.610389926306.issue3840@psf.upfronthosting.co.za> |
2008-09-11 18:58:22 | ocean-city | link | issue3840 messages |
2008-09-11 18:58:22 | ocean-city | create | |
|