On Tue,  7 Sep 2010 02:38:15 +0200 (CEST)
raymond.hettinger <python-check...@python.org> wrote:
> Author: raymond.hettinger
> Date: Tue Sep  7 02:38:15 2010
> New Revision: 84574
> 
> Log:
> Document which part of the random module module are guaranteed.

test_random fails here:

======================================================================
FAIL: test_guaranteed_stable
(test.test_random.MersenneTwister_TestBasicOps)
----------------------------------------------------------------------
Traceback (most recent call last): File
"/home/antoine/py3k/py3k/Lib/test/test_random.py", line 235, in
test_guaranteed_stable '0x1.85ff833f71576p-1', '0x1.87efb37462927p-1'])
AssertionError: Lists differ: ['0x1.7fafd5169cc8fp-1', '0x1.... !=
['0x1.9ee265c177cdep-2', '0x1....

First differing element 0:
0x1.7fafd5169cc8fp-1
0x1.9ee265c177cdep-2

- ['0x1.7fafd5169cc8fp-1',
-  '0x1.df66035cce42ap-2',
-  '0x1.87773588f902cp-3',
-  '0x1.0b32eb7b2fd14p-3']
+ ['0x1.9ee265c177cdep-2',
+  '0x1.bad51092e3c25p-1',
+  '0x1.85ff833f71576p-1',
+  '0x1.87efb37462927p-1']


It looks like the guarantees might be too ambitious.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to