[pypy-commit] pypy py3k: Removed py3k tests for the random.jumpahead.

prestontimmons noreply at buildbot.pypy.org
Mon Mar 12 20:12:44 CET 2012


Author: Preston Timmons <prestontimmons at gmail.com>
Branch: py3k
Changeset: r53332:a6baf0bfbe99
Date: 2012-03-12 19:00 +0000
http://bitbucket.org/pypy/pypy/changeset/a6baf0bfbe99/

Log:	Removed py3k tests for the random.jumpahead.

	This api was removed in Python 3.0.

diff --git a/pypy/module/_random/test/test_random.py b/pypy/module/_random/test/test_random.py
--- a/pypy/module/_random/test/test_random.py
+++ b/pypy/module/_random/test/test_random.py
@@ -82,13 +82,6 @@
         state2 = rnd.getstate()          # seed() to improve the resolution)
         assert state1 != state2
 
-    def test_jumpahead(self):
-        import sys
-        import _random
-        rnd = _random.Random()
-        rnd.jumpahead(100)
-        rnd.jumpahead(sys.maxint + 2)
-
     def test_randbits(self):
         import _random
         rnd = _random.Random()


More information about the pypy-commit mailing list