[SciPy-Dev] adding test to test_random.py

Vincent Davis vincent at vincentdavis.net
Sun Jun 13 21:13:36 EDT 2010


On Sun, Jun 13, 2010 at 7:07 PM, Robert Kern <robert.kern at gmail.com> wrote:
> On Sun, Jun 13, 2010 at 20:03, Vincent Davis <vincent at vincentdavis.net> wrote:
>> On Sun, Jun 13, 2010 at 6:36 PM, Robert Kern <robert.kern at gmail.com> wrote:
>>> On Sun, Jun 13, 2010 at 19:23, Vincent Davis <vincent at vincentdavis.net> wrote:
>>>> Thanks for the recommendations, how do I run the test in a more
>>>> verbose way. I am google how to do this now.
>>>
>>> np.test(verbose=2)
>>
>> The only test with random in it is
>> test_random (test_function_base.TestDigitize) ... ok
>> Which is not part of test_random.py file. ie I see no evidence that is
>> being run.
>>
>> So I assume I am still missing something ???
>
> Your methods are named "test_rand" and "test_randn". They don't have
> the string "random" in them.

I should have been more clear I could not find , test_rand and
test_randn nor the test_gaussian_reset or other which are in the
original test_random.py file. I was searching  the output from running
np.random.test(verbose=2)

Vincent

>
> Try "np.random.test(verbose=2)" to help cut down the noise.
>
> --
> 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
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



More information about the SciPy-Dev mailing list