From: <cg...@us...> - 2009-01-01 01:13:53
|
Revision: 5828 http://jython.svn.sourceforge.net/jython/?rev=5828&view=rev Author: cgroves Date: 2009-01-01 01:13:50 +0000 (Thu, 01 Jan 2009) Log Message: ----------- Should've gone out with r5804 Removed Paths: ------------- trunk/jython/bugtests/test211.py trunk/jython/bugtests/test214a.py trunk/jython/bugtests/test230.py trunk/jython/bugtests/test235.py trunk/jython/bugtests/test235p/ trunk/jython/bugtests/test239.py trunk/jython/bugtests/test240.py Deleted: trunk/jython/bugtests/test211.py =================================================================== --- trunk/jython/bugtests/test211.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test211.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,34 +0,0 @@ - -import sys -import cPickle -pickle = cPickle - -tmpfile = "test211.tmp" - -def saveValue( value): - f = open(tmpfile,"wb") - p = pickle.Pickler(f,1) - p.dump(value) - f.close() - -def loadValue(): - f=open(tmpfile,"rb") - retVal = pickle.Unpickler(f).load() - f.close() - return retVal - -for x in range(256): - try: - saveValue(x) - except: - print "Exception caught: cannot save ", x - else: - try: - y = loadValue() - except: - print "Exception caught: cannot load previously saved value", x - else: - if x != y: - print "saved: ", x, - print "loaded: ", y - Deleted: trunk/jython/bugtests/test214a.py =================================================================== --- trunk/jython/bugtests/test214a.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test214a.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,9 +0,0 @@ -from java.applet import Applet - -class test214a(Applet): - def paint(self, g): - g.drawString("Hello world", 20, 30) - -if __name__ == '__main__': - import pawt - pawt.test(HelloWorld()) Deleted: trunk/jython/bugtests/test230.py =================================================================== --- trunk/jython/bugtests/test230.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test230.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,29 +0,0 @@ - -import pdb - -#p = pdb.Pdb() - - - -class P: - def do_help(self, arg): - print "do_help", arg - #print do_help, id(do_help) - - def onecmd(self, cmd, arg): - func = getattr(self, "do_" + cmd) - func(arg) - -class S(P): - do_h = P.do_help - #print do_h, id(do_h) - -p = S() -a = p.do_help -#print a, id(a) -a = p.do_h -#print a, id(a) - -p.onecmd('help', "hello world") -p.onecmd('h', "hello world") - Deleted: trunk/jython/bugtests/test235.py =================================================================== --- trunk/jython/bugtests/test235.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test235.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,13 +0,0 @@ - - -import support - -support.compileJava("test235p/javaParent.java") - -from test235p import javaParent - -class pythonClass(javaParent) : - def __init__(self,*args) : - apply(javaParent.__init__,(self,)+args) - -p = pythonClass(1) Deleted: trunk/jython/bugtests/test239.py =================================================================== --- trunk/jython/bugtests/test239.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test239.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,11 +0,0 @@ -import support - -support.compileJava("test239j2.java", classpath=".") - -import test239j1 -import test239j2 -config = test239j1() -test = test239j2(config) - -if test239j1.getClassLoader() != test239j2.getClassLoader(): - raise support.TestError, "Loaded classes are not inter-operable" Deleted: trunk/jython/bugtests/test240.py =================================================================== --- trunk/jython/bugtests/test240.py 2009-01-01 00:37:49 UTC (rev 5827) +++ trunk/jython/bugtests/test240.py 2009-01-01 01:13:50 UTC (rev 5828) @@ -1,12 +0,0 @@ - -import support - -support.compileJava("test240p/test240j2.java", classpath=".") - -from test240p import test240j1 -from test240p import test240j2 -config = test240j1() -test = test240j2(config) - -if test240j1.getClassLoader() != test240j2.getClassLoader(): - raise support.TestError, "Loaded classes are not inter-operable" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |