[Python-checkins] python/dist/src/Tools/compiler regrtest.py,1.3,1.4
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Fri, 09 Aug 2002 09:37:38 -0700
- Previous message: [Python-checkins] python/dist/src/Lib/test pickletester.py,1.16,1.17 test_anydbm.py,1.2,1.3 test_binhex.py,1.13,1.14 test_bsddb.py,1.11,1.12 test_commands.py,1.6,1.7 test_dumbdbm.py,1.7,1.8 test_gzip.py,1.10,1.11 test_netrc.py,1.3,1.4 test_pkg.py,1.15,1.16 test_pkgimport.py,1.6,1.7 test_uu.py,1.4,1.5 test_wave.py,1.3,1.4 test_whichdb.py,1.2,1.3
- Next message: [Python-checkins] python/dist/src/Tools/faqwiz faqwiz.py,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv22967/Tools/compiler
Modified Files:
regrtest.py
Log Message:
Massive changes from SF 589982 (tempfile.py rewrite, by Zack
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/regrtest.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** regrtest.py 17 Sep 2001 21:31:35 -0000 1.3
--- regrtest.py 9 Aug 2002 16:37:36 -0000 1.4
***************
*** 16,21 ****
def copy_test_suite():
! dest = tempfile.mktemp()
! os.mkdir(dest)
os.system("cp -r %s/* %s" % (test.__path__[0], dest))
print "Creating copy of test suite in", dest
--- 16,20 ----
def copy_test_suite():
! dest = tempfile.mkdtemp()
os.system("cp -r %s/* %s" % (test.__path__[0], dest))
print "Creating copy of test suite in", dest
***************
*** 23,28 ****
def copy_library():
! dest = tempfile.mktemp()
! os.mkdir(dest)
libdir = os.path.split(test.__path__[0])[0]
print "Found standard library in", libdir
--- 22,26 ----
def copy_library():
! dest = tempfile.mkdtemp()
libdir = os.path.split(test.__path__[0])[0]
print "Found standard library in", libdir
- Previous message: [Python-checkins] python/dist/src/Lib/test pickletester.py,1.16,1.17 test_anydbm.py,1.2,1.3 test_binhex.py,1.13,1.14 test_bsddb.py,1.11,1.12 test_commands.py,1.6,1.7 test_dumbdbm.py,1.7,1.8 test_gzip.py,1.10,1.11 test_netrc.py,1.3,1.4 test_pkg.py,1.15,1.16 test_pkgimport.py,1.6,1.7 test_uu.py,1.4,1.5 test_wave.py,1.3,1.4 test_whichdb.py,1.2,1.3
- Next message: [Python-checkins] python/dist/src/Tools/faqwiz faqwiz.py,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]