zfec: turn off the feature of leaving the tmp data around for post-mortem analysis

This commit is contained in:
Zooko O'Whielacronx 2007-04-21 11:11:06 -07:00
parent 0bd9afdfb8
commit a4ddc6773e

View File

@ -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')