Bug#877419: [Help] Exclusion did not worked (Was: Bug#877419: Bug#877700: RM: pandas [arm64 armel armhf mips mips64el mipsel s390x] ...)

Andreas Tille andreas at an3as.eu
Sat Oct 14 20:58:34 UTC 2017


Hi Yaroslav,

thanks for those hints that somehow came to late since I just read it
after I implemented some hopefully working solution.  I just uploaded
and we'll see what might happen.  Every reader here is invited to fix
it if not / enhance it if not happy. :-)

Kind regards

      Andreas.

On Sat, Oct 14, 2017 at 01:13:56PM -0400, Yaroslav Halchenko wrote:
> 
> FWIW my 1c to make someone pay 1$ (in proportion of time to be spent to
> actually do it):
> 
> yeah, with nosetests it was possible to exclude in the command line...  on a
> quick google I didn't find for pytest (not that it doesn't exist), but
> started to wonder if indeed would be better to provide a patch (to upstream)
> for tests which are known to be failing on specific architectures, something
> like
> 
> @known_to_fail_on(archs=['armel', ...])
> @known_to_fail_on_bigendian
> @known_to_fail_on_nonx32
> 
> see https://docs.pytest.org/en/latest/skipping.html#id1 on how to
> establish those for now based on skipif .  "For now", since ideally there
> should be an easy way to trigger another behavior -- test which tests
> known to fail before now pass.  (we have got something like that in
> datalad now for demarkating tests which fail atm with v6 of git-annex
> repo)
> 
> upstream actually already has some tests marked up:
> 
> pandas/tests/indexes/test_interval.py:    @pytest.mark.skipif(compat.is_platform_32bit(),
> pandas/tests/io/json/test_pandas.py:    @pytest.mark.skipif(is_platform_32bit(),
> pandas/tests/io/json/test_ujson.py:    @pytest.mark.skipif(compat.is_platform_32bit(),
> pandas/tests/io/json/test_ujson.py:    @pytest.mark.skipif(compat.is_platform_windows() and not compat.PY3,
> 
> # and here comes a demo of the cool  -p  switch for git grep:
> 
> $> git grep -p skip.*endian pandas
> pandas/tests/frame/test_constructors.py=class TestDataFrameConstructors(TestData):
> pandas/tests/frame/test_constructors.py:            pytest.skip("known failure of test on non-little endian")
> pandas/tests/io/test_pickle.py=def test_pickles(current_pickle_data, version):
> pandas/tests/io/test_pickle.py:        pytest.skip("known failure on non-little endian")
> 
> -- 
> Yaroslav O. Halchenko
> Center for Open Neuroscience     http://centerforopenneuroscience.org
> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
> Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
> WWW:   http://www.linkedin.com/in/yarik        
> 

-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list