From: <fwi...@gm...> - 2017-05-24 00:35:51
|
On Tue, May 23, 2017 at 5:29 PM, fwi...@gm... <fwi...@gm...> wrote: > On Sat, May 20, 2017 at 5:00 PM, Stefan Richthofer > <Ste...@gm...> wrote: >> I'd like to have http://bugs.jython.org/issue2536 "fixed" by removing that >> infinite recursion test; maybe we could even close this annoying issue then. >> A new Jython release should have reliable test suite. However I don't know >> the best way to remove or blacklist a certain test. > I don't think I saw anyone answer this (but the thread is long so I > may have missed it) but if you look in regrtest.py you'll see a list > starting around line 880, with one section called 'java'. That's a > list of tests that are deliberately skipped. That list hasn't been > looked at in a long time, and I bet there are tests in there that > actually shouldn't get skipped anymore... but that's a whole different > can of worms :) Or if you are talking about a single test function and not a whole test file something like this decorating the particular test will work: @unittest.skipIf(test_support.is_jython, "Not a valid test for Jython") |