[pypy-svn] r24866 - pypy/branch/pypy-rdict-refactoring/rpython/test

arigo at codespeak.net arigo at codespeak.net
Thu Mar 23 11:07:30 CET 2006


Author: arigo
Date: Thu Mar 23 11:07:24 2006
New Revision: 24866

Modified:
   pypy/branch/pypy-rdict-refactoring/rpython/test/test_rdict.py
Log:
Print the seed used, to allow reproducing a failure.


Modified: pypy/branch/pypy-rdict-refactoring/rpython/test/test_rdict.py
==============================================================================
--- pypy/branch/pypy-rdict-refactoring/rpython/test/test_rdict.py	(original)
+++ pypy/branch/pypy-rdict-refactoring/rpython/test/test_rdict.py	Thu Mar 23 11:07:24 2006
@@ -437,6 +437,7 @@
     Could be useful to detect problems associated with specific usage patterns."""
     import random
     x = random.random()
+    print 'random seed: %r' % (x,)
     for i in range(12000):
         r = 3.4 + i/20000.0
         x = r*x - x*x



More information about the Pypy-commit mailing list