[Python-checkins] r84588 - python/branches/py3k/Lib/test/test_random.py
raymond.hettinger
python-checkins at python.org
Tue Sep 7 17:38:33 CEST 2010
Author: raymond.hettinger
Date: Tue Sep 7 17:38:33 2010
New Revision: 84588
Log:
Remove invalid test (it was supposed to fail on 64-bit machines.).
Modified:
python/branches/py3k/Lib/test/test_random.py
Modified: python/branches/py3k/Lib/test/test_random.py
==============================================================================
--- python/branches/py3k/Lib/test/test_random.py (original)
+++ python/branches/py3k/Lib/test/test_random.py Tue Sep 7 17:38:33 2010
@@ -244,10 +244,6 @@
self.assertEqual([self.gen.random().hex() for i in range(4)],
['0x1.ac362300d90d2p-1', '0x1.9d16f74365005p-1',
'0x1.1ebb4352e4c4dp-1', '0x1.1a7422abf9c11p-1'])
- self.gen.seed("the quick brown fox", version=1)
- self.assertEqual([self.gen.random().hex() for i in range(4)],
- ['0x1.9ee265c177cdep-2', '0x1.bad51092e3c25p-1',
- '0x1.85ff833f71576p-1', '0x1.87efb37462927p-1'])
self.gen.seed("the quick brown fox", version=2)
self.assertEqual([self.gen.random().hex() for i in range(4)],
['0x1.1294009b9eda4p-2', '0x1.2ff96171b0010p-1',
More information about the Python-checkins
mailing list