mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
cd494adc3b
commit
43e559a155
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue