From: <cg...@us...> - 2008-12-01 01:06:36
|
Revision: 5667 http://jython.svn.sourceforge.net/jython/?rev=5667&view=rev Author: cgroves Date: 2008-12-01 01:06:33 +0000 (Mon, 01 Dec 2008) Log Message: ----------- PyReflectedFunction no longer exposes a String constructor Modified Paths: -------------- branches/newstyle-java-types/Lib/test/test_joverload.py Modified: branches/newstyle-java-types/Lib/test/test_joverload.py =================================================================== --- branches/newstyle-java-types/Lib/test/test_joverload.py 2008-12-01 01:00:37 UTC (rev 5666) +++ branches/newstyle-java-types/Lib/test/test_joverload.py 2008-12-01 01:06:33 UTC (rev 5667) @@ -6,13 +6,13 @@ import unittest import java -import org.python.core +from org.python.core import PyReflectedFunction class PyReflFuncEnvl: def __init__(self,name,meths): - self.reflfunc = org.python.core.PyReflectedFunction(name) - for meth in meths: + self.reflfunc = PyReflectedFunction(meths[0]) + for meth in meths[1:]: self.reflfunc.addMethod(meth) def __call__(self,inst,args): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |