Commit c8dfc5af authored by Brett Cannon's avatar Brett Cannon

When calling tarname with an argument (and thus not use testtar.tar) return a

path for the file in the temp directory for the platform.
parent ae753e3e
......@@ -30,7 +30,7 @@ membercount = 10
def tarname(comp=""):
if not comp:
return testtar
return "%s%s%s" % (testtar, os.extsep, comp)
return os.path.join(tempdir, "%s%s%s" % (testtar, os.extsep, comp))
def dirname():
if not os.path.exists(tempdir):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment