Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
8e1375e0
Commit
8e1375e0
authored
Aug 22, 2008
by
Andrew Straw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Buffers: testcase cleanup
parent
5619c39a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/run/bufaccess.pyx
tests/run/bufaccess.pyx
+2
-2
No files found.
tests/run/bufaccess.pyx
View file @
8e1375e0
...
...
@@ -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
)
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment