[SciPy-dev] Two new test failures

Robert Kern robert.kern@gmail....
Thu Nov 13 17:50:01 CST 2008


On Thu, Nov 13, 2008 at 17:42, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
> On Thu, Nov 13, 2008 at 3:36 PM, Robert Kern <robert.kern@gmail.com> wrote:
>>
>> On Thu, Nov 13, 2008 at 15:47,  <josef.pktd@gmail.com> wrote:
>> > the current test for scipy.stats take now about 3.6 minutes on my
>> > notebook, but I don't have any errors or failures:
>> >
>> > Ran 886 tests in 215.110s
>> > OK
>> >
>> > Do I need a slow decorator, or something else to indicate that the
>> > tests are not very fast?
>>
>> from numpy.testing.decorators import slow
>>
>> I'm not entirely sure what practical effect that has, though.
>>
>> Ideally, you could come up with faster tests that do 80% of the job.
>
> Is there a way to make the tests depend on some testing level?

Sure, but you have to be explicit about it every time.

  nosetests -A "not slow"

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the Scipy-dev mailing list