From: Andrew Straw Date: Thu, 21 Aug 2008 22:22:01 +0000 (+0200) Subject: Buffers: testcase cleanup X-Git-Tag: 0.9.9.2.beta~63^2~49^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e1375e02356cadf0010afbf345cd09267490120;p=cython.git Buffers: testcase cleanup --- diff --git a/tests/run/bufaccess.pyx b/tests/run/bufaccess.pyx index 49d2a3b7..f0f3e04f 100644 --- a/tests/run/bufaccess.pyx +++ b/tests/run/bufaccess.pyx @@ -1052,10 +1052,10 @@ cdef class ErrorBuffer: def __init__(self, label): self.label = label - def __getbuffer__(MockBuffer self, Py_buffer* buffer, int flags): + def __getbuffer__(ErrorBuffer self, Py_buffer* buffer, int flags): raise Exception("acquiring %s" % self.label) - def __releasebuffer__(MockBuffer self, Py_buffer* buffer): + def __releasebuffer__(ErrorBuffer self, Py_buffer* buffer): raise Exception("releasing %s" % self.label) #