Author: Antonio Cuni <[email protected]>
Branch: faster-rstruct-2
Changeset: r91296:87a6a1665f4c
Date: 2017-05-15 14:03 +0200
http://bitbucket.org/pypy/pypy/changeset/87a6a1665f4c/

Log:    fix tests

diff --git a/rpython/rlib/test/test_buffer.py b/rpython/rlib/test/test_buffer.py
--- a/rpython/rlib/test/test_buffer.py
+++ b/rpython/rlib/test/test_buffer.py
@@ -8,7 +8,7 @@
 
 class MyRawBuffer(RawBuffer):
 
-    def __init__(self, data, readonly):
+    def __init__(self, data, readonly=True):
         self.readonly = readonly
         self._n = len(data)
         self._buf = lltype.malloc(rffi.CCHARP.TO, self._n, flavor='raw')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to