From: <fwi...@us...> - 2008-10-16 17:52:17
|
Revision: 5437 http://jython.svn.sourceforge.net/jython/?rev=5437&view=rev Author: fwierzbicki Date: 2008-10-16 17:51:59 +0000 (Thu, 16 Oct 2008) Log Message: ----------- Covered in test_jy_internals already. Removed Paths: ------------- trunk/jython/bugtests/test128.py Deleted: trunk/jython/bugtests/test128.py =================================================================== --- trunk/jython/bugtests/test128.py 2008-10-16 17:50:37 UTC (rev 5436) +++ trunk/jython/bugtests/test128.py 2008-10-16 17:51:59 UTC (rev 5437) @@ -1,23 +0,0 @@ -""" -Check a manually created PyModule, with unwanted hack. -""" - -import support -import org, sys - -s = """ -def foo(): - return "foo bar zot" -""" -name = "test128m" - -mod = org.python.core.PyModule("test128m", {}) -#mod = org.python.core.PyInstance.__tojava__(mod, org.python.core.PyModule) - -code = compile(s, "test128m.py", "exec" ) -exec s in mod.__dict__, mod.__dict__ - -sys.modules["test128m"] = mod -import test128m - -support.compare(test128m.foo(), "foo bar zot") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |