On this page
numpy.testing.dec.slow
- numpy.testing.dec.slow(t)
- 
    Label a test as ‘slow’. The exact definition of a slow test is obviously both subjective and hardware-dependent, but in general any individual test that requires more than a second or two should be labeled as slow (the whole suite consists of thousands of tests, so even a second is significant). - Parameters
- 
      - tcallable
- 
        The test to label as slow. 
 
- Returns
- 
      - tcallable
- 
        The decorated test t.
 
 ExamplesThe numpy.testingmodule includesimport decorators as dec. A test can be decorated as slow like this:from numpy.testing import * @dec.slow def test_big(self): print('Big, slow test')
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.19/reference/generated/numpy.testing.dec.slow.html