[Checkins] SVN: ZODB/trunk/src/ZEO/tests/forker.py Create temp	files in the cwd, so they get cleaned up at the end of the test.
    Jim Fulton 
    jim at zope.com
       
    Fri Nov 14 18:08:38 EST 2008
    
    
  
Log message for revision 92949:
  Create temp files in the cwd, so they get cleaned up at the end of the test.
  
Changed:
  U   ZODB/trunk/src/ZEO/tests/forker.py
-=-
Modified: ZODB/trunk/src/ZEO/tests/forker.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/forker.py	2008-11-14 23:05:28 UTC (rev 92948)
+++ ZODB/trunk/src/ZEO/tests/forker.py	2008-11-14 23:08:38 UTC (rev 92949)
@@ -118,7 +118,7 @@
     """
 
     # Store the config info in a temp file.
-    tmpfile = tempfile.mktemp(".conf")
+    tmpfile = tempfile.mktemp(".conf", dir=os.getcwd())
     fp = open(tmpfile, 'w')
     zeo_conf.dump(fp)
     fp.write(storage_conf)
    
    
More information about the Checkins
mailing list