Author ocean-city
Recipients ocean-city
Date 2008-09-11.18:58:22
SpamBayes Score 2.36408e-06
Marked as misclassified No
Message-id <>
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/
--- Lib/test/       (revision 66385)
+++ Lib/test/       (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"'s addpackage() is doing

    fullname = os.path.join(sitedir, name)

and on my cygwin, this equals to

        "/tmp/@test.pth") #=> "/tmp/@test.pth"

probably this is not good. (I cannot figure out what is doing
Date User Action Args
2008-09-11 18:59:22ocean-citysetrecipients: + ocean-city
2008-09-11 18:59:22ocean-citysetmessageid: <>
2008-09-11 18:58:22ocean-citylinkissue3840 messages
2008-09-11 18:58:22ocean-citycreate