mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 19:26:44 +00:00
zfec: turn off the feature of leaving the tmp data around for post-mortem analysis
This commit is contained in:
parent
0bd9afdfb8
commit
a4ddc6773e
@ -131,7 +131,7 @@ class FileFec(unittest.TestCase):
|
|||||||
PREFIX = "test"
|
PREFIX = "test"
|
||||||
SUFFIX = ".fec"
|
SUFFIX = ".fec"
|
||||||
|
|
||||||
tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=False)
|
tempdir = zfec.util.fileutil.NamedTemporaryDirectory()
|
||||||
try:
|
try:
|
||||||
tempfn = os.path.join(tempdir.name, TESTFNAME)
|
tempfn = os.path.join(tempdir.name, TESTFNAME)
|
||||||
tempf = open(tempfn, 'wb')
|
tempf = open(tempfn, 'wb')
|
||||||
|
Loading…
Reference in New Issue
Block a user