[Python-Dev] Unittests

Aahz aahz@pythoncraft.com
Tue, 9 Apr 2002 19:03:08 -0400


On Tue, Apr 09, 2002, Andrew P. Lentvorski wrote:
>
> What is the "Official Python(tm)" method for generating a "guaranteed for
> all time to always be the same if started with the same seed" string of
> random numbers for use in something like a UnitTest?

There isn't one currently, and I doubt there will ever be one.  No
reason why you can't swipe random.py for your own purposes, though.
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"There are times when effort is important and necessary, but this should
not be taken as any kind of moral imperative."  --jdecker