Commits

Maciej Fijalkowski committed 2cb4d21

fix test_zjit

  • Participants
  • Parent commits 115f110
  • Branches numpy-record-dtypes

Comments (0)

Files changed (1)

File pypy/module/micronumpy/compile.py

             return int(w_obj.floatval)
         raise NotImplementedError
 
+    def str_w(self, w_obj):
+        if isinstance(w_obj, StringObject):
+            return w_obj.v
+        raise NotImplementedError
+
     def int(self, w_obj):
         if isinstance(w_obj, IntObject):
             return w_obj