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
Boxiang Sun
cython
Commits
e79e17f8
Commit
e79e17f8
authored
Jun 28, 2009
by
Dag Sverre Seljebotn
Committed by
Mark Florisson
Sep 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case for #340
parent
174beabd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Cython/Compiler/Tests/TestMemView.py
Cython/Compiler/Tests/TestMemView.py
+6
-0
No files found.
Cython/Compiler/Tests/TestMemView.py
View file @
e79e17f8
...
@@ -30,6 +30,12 @@ class TestMemviewParsing(CythonTest):
...
@@ -30,6 +30,12 @@ class TestMemviewParsing(CythonTest):
def
test_zero_offset_ndim
(
self
):
def
test_zero_offset_ndim
(
self
):
self
.
parse
(
u"cdef int[0:,0:,0:,0:] x"
)
self
.
parse
(
u"cdef int[0:,0:,0:,0:] x"
)
def
test_def_arg
(
self
):
self
.
parse
(
u"def foo(int[:,:] x): pass"
)
def
test_cdef_arg
(
self
):
self
.
parse
(
u"cdef foo(int[:,:] x): pass"
)
def
test_general_slice
(
self
):
def
test_general_slice
(
self
):
self
.
parse
(
u'cdef float[::ptr, ::direct & contig, 0::full & strided] x'
)
self
.
parse
(
u'cdef float[::ptr, ::direct & contig, 0::full & strided] x'
)
...
...
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