[pypy-commit] pypy test-cpyext: rm debugging leftover

rlamy pypy.commits at gmail.com
Sun Sep 11 16:03:29 EDT 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: test-cpyext
Changeset: r87010:13c43c49adbe
Date: 2016-09-11 21:03 +0100
http://bitbucket.org/pypy/pypy/changeset/13c43c49adbe/

Log:	rm debugging leftover

diff --git a/pypy/module/cpyext/bufferobject.py b/pypy/module/cpyext/bufferobject.py
--- a/pypy/module/cpyext/bufferobject.py
+++ b/pypy/module/cpyext/bufferobject.py
@@ -61,7 +61,6 @@
         py_buf.c_b_ptr = rffi.cast(rffi.VOIDP, buf.array._charbuf_start())
         py_buf.c_b_size = buf.getlength()
     else:
-        raise RuntimeError
         raise oefmt(space.w_NotImplementedError, "buffer flavor not supported")
 
 


More information about the pypy-commit mailing list