Buffers: testcase cleanup
authorAndrew Straw <none@none>
Thu, 21 Aug 2008 22:22:01 +0000 (00:22 +0200)
committerAndrew Straw <none@none>
Thu, 21 Aug 2008 22:22:01 +0000 (00:22 +0200)
tests/run/bufaccess.pyx

index 49d2a3b7efb7048ed6b305e6157b546809ff47e9..f0f3e04f89ffa657dde2b80b20cf95fe13183d17 100644 (file)
@@ -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)
 
 #