[pypy-svn] pypy default: Fix (thanks Matthew).

arigo commits-noreply at bitbucket.org
Sun Apr 10 21:50:40 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r43271:dc5579a7f70c
Date: 2011-04-10 21:49 +0200
http://bitbucket.org/pypy/pypy/changeset/dc5579a7f70c/

Log:	Fix (thanks Matthew).

diff --git a/pypy/jit/backend/test/test_random.py b/pypy/jit/backend/test/test_random.py
--- a/pypy/jit/backend/test/test_random.py
+++ b/pypy/jit/backend/test/test_random.py
@@ -717,6 +717,7 @@
 def test_random_function(BuilderClass=OperationBuilder):
     r = Random()
     cpu = get_cpu()
+    cpu.setup_once()
     if pytest.config.option.repeat == -1:
         while 1:
             check_random_function(cpu, BuilderClass, r)


More information about the Pypy-commit mailing list