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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
4d676ccf
Commit
4d676ccf
authored
Oct 02, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for bad buffer types.
parent
2b8bff70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/errors/e_bufaccess.pyx
tests/errors/e_bufaccess.pyx
+2
-0
No files found.
tests/errors/e_bufaccess.pyx
View file @
4d676ccf
...
@@ -10,6 +10,7 @@ def f():
...
@@ -10,6 +10,7 @@ def f():
cdef
object
[
int
,
2
,
3
,
4
,
5
,
6
]
buf4
cdef
object
[
int
,
2
,
3
,
4
,
5
,
6
]
buf4
cdef
object
[
int
,
2
,
'foo'
]
buf5
cdef
object
[
int
,
2
,
'foo'
]
buf5
cdef
object
[
int
,
2
,
well
]
buf6
cdef
object
[
int
,
2
,
well
]
buf6
cdef
object
[
x
,
1
]
buf0
_ERRORS
=
u"""
_ERRORS
=
u"""
1:17: Buffer types only allowed as function local variables
1:17: Buffer types only allowed as function local variables
...
@@ -23,5 +24,6 @@ _ERRORS = u"""
...
@@ -23,5 +24,6 @@ _ERRORS = u"""
#10:15: Too many buffer options
#10:15: Too many buffer options
#11:24: Only allowed buffer modes are "full" or "strided" (as a compile-time string)
#11:24: Only allowed buffer modes are "full" or "strided" (as a compile-time string)
#12:28: Only allowed buffer modes are "full" or "strided" (as a compile-time string)
#12:28: Only allowed buffer modes are "full" or "strided" (as a compile-time string)
#13:17: Invalid type.
#"""
#"""
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