[SciPy-Dev] parametric tests, known failures and skipped tests

Pauli Virtanen pav@iki...
Thu Jun 6 02:29:59 CDT 2013


Blake Griffith <blake.a.griffith <at> gmail.com> writes:
[clip]
> Is there a way I can mark one item in a parametric test
> as a known fail or skiptest? Otherwise I'll have to fix
> all these bugs I'm finding, and implement support for the bool dtype too :)

It's a matter of raising the KnownFailureTest exception.
You can abuse the knownfailure decorator for that:

https://github.com/scipy/scipy/blob/master/scipy/special/tests/test_mpmath.py
#L510



More information about the SciPy-Dev mailing list