diff options
Diffstat (limited to 'Lib/test/test_extcall.py')
-rw-r--r-- | Lib/test/test_extcall.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index 10162aa..9e6da62 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -1,6 +1,5 @@ from test_support import verify, verbose, TestFailed from UserList import UserList -import string def sortdict(d): keys = d.keys() @@ -195,7 +194,7 @@ for args in ['', 'a', 'ab']: if vararg: arglist.append('*' + vararg) if kwarg: arglist.append('**' + kwarg) decl = 'def %s(%s): print "ok %s", a, b, d, e, v, k' % ( - name, string.join(arglist, ', '), name) + name, ', '.join(arglist), name) exec(decl) func = eval(name) funcs.append(func) |