[Python-checkins] python/dist/src/Lib/test test_tarfile.py,1.10,1.11
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Thu, 12 Jun 2003 12:17:05 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv19416/Lib/test
Modified Files:
test_tarfile.py
Log Message:
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.
Index: test_tarfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_tarfile.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_tarfile.py 12 Jun 2003 08:01:06 -0000 1.10
--- test_tarfile.py 12 Jun 2003 19:16:58 -0000 1.11
***************
*** 31,35 ****
if not comp:
return testtar
! return "%s%s%s" % (testtar, os.extsep, comp)
def dirname():
--- 31,35 ----
if not comp:
return testtar
! return os.path.join(tempdir, "%s%s%s" % (testtar, os.extsep, comp))
def dirname():