From: <fwi...@us...> - 2008-08-12 18:24:26
|
Revision: 5159 http://jython.svn.sourceforge.net/jython/?rev=5159&view=rev Author: fwierzbicki Date: 2008-08-12 18:24:24 +0000 (Tue, 12 Aug 2008) Log Message: ----------- Don't try really long args on Jython for now. Modified Paths: -------------- branches/asm/Lib/test/test_compile.py Modified: branches/asm/Lib/test/test_compile.py =================================================================== --- branches/asm/Lib/test/test_compile.py 2008-08-12 18:17:00 UTC (rev 5158) +++ branches/asm/Lib/test/test_compile.py 2008-08-12 18:24:24 UTC (rev 5159) @@ -124,8 +124,10 @@ # EXTENDED_ARG/JUMP_ABSOLUTE here return x ''' % ((longexpr,)*10) - exec code - self.assertEqual(f(5), 0) + #Exceeds 65535 byte limit on methods in the JVM. + if not test_support.is_jython: + exec code + self.assertEqual(f(5), 0) def test_complex_args(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |