Commits

mattip committed 13c604d

reopen closed branch for failing ztranslation test

  • Participants
  • Parent commits 9913b5d
  • Branches remove-array-smm

Comments (0)

Files changed (1)

File pypy/objspace/fake/objspace.py

     def get_module(self):
         return w_some_obj()
 
+class W_List(W_MyObject):
+    def append(self, item):
+        return self
+
 def w_some_obj():
     if NonConstant(False):
         return W_Root()
     def newlist(self, list_w):
         for w_x in list_w:
             is_root(w_x)
-        return w_some_obj()
+        return W_List()
 
     def newslice(self, w_start, w_end, w_step):
         is_root(w_start)