projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5619c39
)
Buffers: testcase cleanup
author
Andrew Straw
<none@none>
Thu, 21 Aug 2008 22:22:01 +0000
(
00:22
+0200)
committer
Andrew Straw
<none@none>
Thu, 21 Aug 2008 22:22:01 +0000
(
00:22
+0200)
tests/run/bufaccess.pyx
patch
|
blob
|
history
diff --git
a/tests/run/bufaccess.pyx
b/tests/run/bufaccess.pyx
index 49d2a3b7efb7048ed6b305e6157b546809ff47e9..f0f3e04f89ffa657dde2b80b20cf95fe13183d17 100644
(file)
--- 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__(
Mock
Buffer self, Py_buffer* buffer, int flags):
+ def __getbuffer__(
Error
Buffer self, Py_buffer* buffer, int flags):
raise Exception("acquiring %s" % self.label)
- def __releasebuffer__(
Mock
Buffer self, Py_buffer* buffer):
+ def __releasebuffer__(
Error
Buffer self, Py_buffer* buffer):
raise Exception("releasing %s" % self.label)
#