[Zope-Checkins] CVS: Zope/lib/python/Products/PythonScripts/tests - testPythonScript.py:1.12.68.1

Chris McDonough chrism@zope.com
Mon, 21 Jul 2003 12:39:14 -0400


Update of /cvs-repository/Zope/lib/python/Products/PythonScripts/tests
In directory cvs.zope.org:/tmp/cvs-serv17213/lib/python/Products/PythonScripts/tests

Modified Files:
      Tag: Zope-2_7-branch
	testPythonScript.py 
Log Message:
Merge changes from HEAD since the release of Zope 2.7a1 into the Zope-2_7-branch in preparation for release of Zope 2.7b1.


=== Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py 1.12 => 1.12.68.1 ===
--- Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py:1.12	Wed Aug 14 18:25:09 2002
+++ Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py	Mon Jul 21 12:36:08 2003
@@ -81,9 +81,9 @@
     def testParam26(self):
         import string
         params = string.letters[:26]
-        sparams = string.join(params, ',')
-        tup = apply(self._newPS('##parameters=%s\nreturn %s'
-                                % (sparams,sparams)), params)
+        sparams = ','.join(params)
+        ps = self._newPS('##parameters=%s\nreturn %s' % (sparams, sparams))
+        tup = ps(*params)
         assert tup == tuple(params), (tup, params)
 
     def testArithmetic(self):