From: <fwi...@us...> - 2008-10-16 17:50:42
|
Revision: 5436 http://jython.svn.sourceforge.net/jython/?rev=5436&view=rev Author: fwierzbicki Date: 2008-10-16 17:50:37 +0000 (Thu, 16 Oct 2008) Log Message: ----------- This test is already covered by a test in test_jy_internals. Removed Paths: ------------- trunk/jython/bugtests/test127.py Deleted: trunk/jython/bugtests/test127.py =================================================================== --- trunk/jython/bugtests/test127.py 2008-10-16 17:48:56 UTC (rev 5435) +++ trunk/jython/bugtests/test127.py 2008-10-16 17:50:37 UTC (rev 5436) @@ -1,24 +0,0 @@ -""" -Check a manually created PyModule. -""" - -import support -import org, sys - -s = """ -def foo(): - pass -""" -name = "test127m" - -mod = org.python.core.PyModule("test127m", {}) -#mod = org.python.core.PyInstance.__tojava__(mod, org.python.core.PyModule) - -code = compile(s, "test127m.py", "exec" ) -exec s in mod.__dict__, mod.__dict__ - -sys.modules["test127m"] = mod -import test127m - -test127m.foo() - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |