From: <zy...@us...> - 2008-10-06 22:08:18
|
Revision: 5365 http://jython.svn.sourceforge.net/jython/?rev=5365&view=rev Author: zyasoft Date: 2008-10-06 22:08:13 +0000 (Mon, 06 Oct 2008) Log Message: ----------- Similar mass removal of tests as in test_trace, these all are related to some fundamental differences in our VM, especially around exception handling. Modified Paths: -------------- trunk/jython/Lib/test/test_profilehooks.py Modified: trunk/jython/Lib/test/test_profilehooks.py =================================================================== --- trunk/jython/Lib/test/test_profilehooks.py 2008-10-06 22:00:46 UTC (rev 5364) +++ trunk/jython/Lib/test/test_profilehooks.py 2008-10-06 22:08:13 UTC (rev 5365) @@ -1,3 +1,9 @@ +# see test_trace.py for the reasoning behind why we need to disable so +# many of these tests; in general we need to come up with a more +# stable mechanism for this that's not so dependent on our compilation +# process, but that is tough. Regardless, we want some testing of this +# functionality, so this will have to suffice for now. + import pprint import sys import unittest @@ -358,6 +364,20 @@ def test_main(): + if test_support.is_jython: + del ProfileHookTestCase.test_distant_exception + del ProfileHookTestCase.test_exception + del ProfileHookTestCase.test_exception_in_except_clause + del ProfileHookTestCase.test_exception_propogation + del ProfileHookTestCase.test_nested_exception + del ProfileHookTestCase.test_raise + del ProfileHookTestCase.test_raise_reraise + del ProfileHookTestCase.test_raise_twice + del ProfileHookTestCase.test_stop_iteration + + del ProfileSimulatorTestCase.test_basic_exception + del ProfileSimulatorTestCase.test_distant_exception + test_support.run_unittest( ProfileHookTestCase, ProfileSimulatorTestCase This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |