1. Tobias Pape
  2. pypy

Commits

Tobias Pape  committed c0cda5d

Fix dotviewer translation test

  • Participants
  • Parent commits 0d0ae12
  • Branches default

Comments (0)

Files changed (1)

File dotviewer/test/test_translator.py

View file
  • Ignore whitespace
 
 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()