Commits

Maciej Fijalkowski committed 0bfebb3

fix testas

  • Participants
  • Parent commits 8d1b1d0
  • Branches speedup-list-comprehension

Comments (0)

Files changed (1)

pypy/rlib/test/test_objectmodel.py

 def test_newlist():
     from pypy.annotation.model import SomeInteger
     def f(z):
-        x = newlist(sizehint=38)
+        x = newlist_hint(sizehint=38)
         if z < 0:
             x.append(1)
         return len(x)
 def test_newlist_nonconst():
     from pypy.annotation.model import SomeInteger
     def f(z):
-        x = newlist(sizehint=z)
+        x = newlist_hint(sizehint=z)
         return len(x)
 
     graph = getgraph(f, [SomeInteger()])