Re: Unicode user and file names (and v2.7.1)

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CADrh4z+E0tiKjqvmej3W25XOaji9BKSqwN6dA5twaOxe1aowjA@mail.gmail.com>
On Tue, May 23, 2017 at 5:29 PM, [email protected]
<[email protected]> wrote:
> On Sat, May 20, 2017 at 5:00 PM, Stefan Richthofer
> <[email protected]> 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")

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.