[SciPy-dev] print in tests

josef.pktd@gmai... josef.pktd@gmai...
Tue Nov 17 15:28:55 CST 2009


On Tue, Nov 17, 2009 at 4:16 PM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
> 2009/11/17  <josef.pktd@gmail.com>:
>> scipy.stats   vonmises.pyx has a print left in it, that creates a lot
>> of output when running the tests.
>
> Oops. Fixed.
>
>> also
>> scipy\io\tests\test_wavfile.py  has a print
>>
>
> More generally, though, should we assume people are going to be using
> nosetests? If so, then stray prints are not a problem as long as they
> are in the tests - they don't appear unless the test fails, in which
> case they can be rather handy.

The advertised is scipy.test() , scipy.stats.test(). I almost never use
nosetests directly, unless I target very specific tests.
scipy.test() prints so much on the command line that I loose the beginning.

Josef
>
> Anne
>
>> Josef
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>


More information about the Scipy-dev mailing list