[pypy-commit] pypy faster-rstruct-2: fix tests

antocuni pypy.commits at gmail.com
Mon May 15 08:27:11 EDT 2017


Author: Antonio Cuni <anto.cuni at gmail.com>
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')


More information about the pypy-commit mailing list