Author: Wim Lavrijsen <wlavrij...@lbl.gov>
Branch: reflex-support
Changeset: r70966:1f6f6b1fac06
Date: 2014-04-25 00:04 -0700
http://bitbucket.org/pypy/pypy/changeset/1f6f6b1fac06/

Log:    adjust test to new buffer interface

diff --git a/pypy/module/cppyy/test/test_zjit.py 
b/pypy/module/cppyy/test/test_zjit.py
--- a/pypy/module/cppyy/test/test_zjit.py
+++ b/pypy/module/cppyy/test/test_zjit.py
@@ -104,6 +104,7 @@
         class dummy: pass
         self.config = dummy()
         self.config.translating = False
+        self.BUF_SIMPLE = 1
 
     def issequence_w(self, w_obj):
         return True
@@ -132,7 +133,7 @@
         return w_obj
     interp_w._annspecialcase_ = 'specialize:arg(1)'
 
-    def buffer_w(self, w_obj):
+    def buffer_w(self, w_obj, flags):
         return FakeBuffer(w_obj)
 
     def exception_match(self, typ, sub):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to