[pypy-commit] pypy default: Fix dotviewer translation test

krono noreply at buildbot.pypy.org
Mon Feb 11 10:29:20 CET 2013


Author: Tobias Pape <tobias at netshed.de>
Branch: 
Changeset: r61071:c0cda5df2cc0
Date: 2013-01-25 16:59 +0100
http://bitbucket.org/pypy/pypy/changeset/c0cda5df2cc0/

Log:	Fix dotviewer translation test

diff --git a/dotviewer/test/test_translator.py b/dotviewer/test/test_translator.py
--- a/dotviewer/test/test_translator.py
+++ b/dotviewer/test/test_translator.py
@@ -22,6 +22,6 @@
 
 def test_annotated():
     from rpython.translator.interactive import Translation
-    t = Translation(is_prime)
-    t.annotate([int])
+    t = Translation(is_prime, [int])
+    t.annotate()
     t.viewcg()


More information about the pypy-commit mailing list