From: <fwi...@us...> - 2009-03-02 01:04:21
|
Revision: 6052 http://jython.svn.sourceforge.net/jython/?rev=6052&view=rev Author: fwierzbicki Date: 2009-03-02 01:04:20 +0000 (Mon, 02 Mar 2009) Log Message: ----------- maybe 'never' was too strong for new.code in Jython. Disable test for now. Modified Paths: -------------- trunk/jython/Lib/test/test_new.py Modified: trunk/jython/Lib/test/test_new.py =================================================================== --- trunk/jython/Lib/test/test_new.py 2009-03-02 01:00:34 UTC (rev 6051) +++ trunk/jython/Lib/test/test_new.py 2009-03-02 01:04:20 UTC (rev 6052) @@ -115,8 +115,7 @@ print 'new.code()' # bogus test of new.code() -# Note: Jython will never have new.code() -if hasattr(new, 'code'): +if hasattr(new, 'code') and not sys.platform.startswith('java'): def f(a): pass c = f.func_code This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |