A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022881.html below:

[Python-Dev] Unittests

[Python-Dev] Unittests [Python-Dev] UnittestsAahz 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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4