From: <fwi...@us...> - 2008-10-16 17:48:09
|
Revision: 5434 http://jython.svn.sourceforge.net/jython/?rev=5434&view=rev Author: fwierzbicki Date: 2008-10-16 17:48:03 +0000 (Thu, 16 Oct 2008) Log Message: ----------- The reload builtin is tested in a number of places in the unit tests, so this basic test of it can be deleted. Removed Paths: ------------- trunk/jython/bugtests/test125.py Deleted: trunk/jython/bugtests/test125.py =================================================================== --- trunk/jython/bugtests/test125.py 2008-10-16 16:54:06 UTC (rev 5433) +++ trunk/jython/bugtests/test125.py 2008-10-16 17:48:03 UTC (rev 5434) @@ -1,38 +0,0 @@ -""" -Check reload of module. -""" - -import support - -src = """ -def fun2(): - return %s -""" - -def mk(v): - f = open("test125m.py", "w") - f.write(src % v) - f.close() - - -mk("1") - -import test125m -from test125m import fun2 -support.compare(fun2(), "1") - -import time -time.sleep(2) - -mk("2") - -reload(test125m) - -support.compare(fun2(), "1") - -from test125m import fun2 - -support.compare(fun2(), "2") - -support.compare(test125m.fun2(), "2") - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |