Commits

Daniel Roberts committed 03db3de

Fixed test and removed useless need_result_type for ll operations

  • Participants
  • Parent commits f4898b2
  • Branches ootype-rerased

Comments (0)

Files changed (2)

pypy/rlib/test/test_rerased.py

     def castable(self, TO, var):
         return lltype.castable(TO, lltype.typeOf(var)) > 0
 
+from pypy.rpython.ootypesystem.ootype import Object
+
 class TestOOtype(BaseTestRErased, OORtypeMixin):
     ERASED_TYPE = Object
     UNERASED_TYPE = OBJECT

pypy/rpython/ootypesystem/ootype.py

 
 def oobox_int(i):
     return Box(i)
-oobox_int.need_result_type = True
 
 def oounbox_int(x):
     return x.i
-oounbox_int.need_result_type = True
 
 def oostring(obj, base):
     """