zfec: turn off the feature of leaving the tmp data around for post-mortem analysis
authorzooko <zooko@zooko.com>
Sat, 21 Apr 2007 18:11:06 +0000 (23:41 +0530)
committerzooko <zooko@zooko.com>
Sat, 21 Apr 2007 18:11:06 +0000 (23:41 +0530)
darcs-hash:a54ab2a5e0cddd9b5f88b0182b5e350a4cf09845

zfec/zfec/test/test_zfec.py

index 8403ab7c9ec504385bb8dc3874d2b2aaabc06bbd..a0b8ce6d680360931c7a59cbb202297568b46f87 100755 (executable)
@@ -131,7 +131,7 @@ class FileFec(unittest.TestCase):
         PREFIX = "test"
         SUFFIX = ".fec"
 
-        tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=False)
+        tempdir = zfec.util.fileutil.NamedTemporaryDirectory()
         try:
             tempfn = os.path.join(tempdir.name, TESTFNAME)
             tempf = open(tempfn, 'wb')