From 8e1375e02356cadf0010afbf345cd09267490120 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Fri, 22 Aug 2008 00:22:01 +0200 Subject: [PATCH] Buffers: testcase cleanup --- tests/run/bufaccess.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) # -- 2.26.2