[NumPy-Tickets] [NumPy] #1630: Documentation of known failure testing decorator is incomplete
NumPy Trac
numpy-tickets@scipy....
Sat Oct 9 22:03:15 CDT 2010
#1630: Documentation of known failure testing decorator is incomplete
-------------------------------------+--------------------------------------
Reporter: jdmarch | Owner: pv
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: Documentation | Version: 1.5.0
Keywords: testing knownfailureif |
-------------------------------------+--------------------------------------
[http://projects.scipy.org/numpy/wiki/TestingGuidelines#known-failures-
skipping-tests] describes decorators numpy.testing.dec.skipif and
knownfailureif. It implies that these two decorators are equally
available. However skipif can be used in tests run from the command line
with nosetests, and knownfailureif cannot. Ralf Gommers explained:
"Knownfailure is a numpy-specific plugin, which needs to be loaded for
tests decorated with @dec.knownfailureif to be marked as K instead of E.
This plugin loading is done by the {{{NoseTester}}} class (defined in
numpy/testing/nosetester.py) which is used when tests are run through
numpy.test()."
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1630>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list