[SciPy-Dev] parametric tests, known failures and skipped tests
Pauli Virtanen
pav at iki.fi
Thu Jun 6 03:29:59 EDT 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