[Python-checkins] CVS: python/dist/src/Lib/test test_extcall.py,1.12,1.13
Eric S. Raymond
esr@users.sourceforge.net
Fri, 09 Feb 2001 03:45:28 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17777
Modified Files:
test_extcall.py
Log Message:
String method conversion.
Index: test_extcall.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_extcall.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** test_extcall.py 2001/01/21 18:52:02 1.12
--- test_extcall.py 2001/02/09 11:45:26 1.13
***************
*** 1,5 ****
from test_support import verify, verbose, TestFailed
from UserList import UserList
- import string
def sortdict(d):
--- 1,4 ----
***************
*** 196,200 ****
if kwarg: arglist.append('**' + kwarg)
decl = 'def %s(%s): print "ok %s", a, b, d, e, v, k' % (
! name, string.join(arglist, ', '), name)
exec(decl)
func = eval(name)
--- 195,199 ----
if kwarg: arglist.append('**' + kwarg)
decl = 'def %s(%s): print "ok %s", a, b, d, e, v, k' % (
! name, ', '.join(arglist), name)
exec(decl)
func = eval(name)