Commit ea8e64b9 authored by Mark Florisson's avatar Mark Florisson

Move memoryview and buffer tests

parent b3379294
/* See bufaccess.pyx */
typedef short td_h_short;
typedef double td_h_double;
typedef unsigned short td_h_ushort;
...@@ -17,7 +17,7 @@ cimport cython ...@@ -17,7 +17,7 @@ cimport cython
cdef extern from "Python.h": cdef extern from "Python.h":
cdef int PyBUF_C_CONTIGUOUS cdef int PyBUF_C_CONTIGUOUS
include "mockbuffers.pxi" include "../buffers/mockbuffers.pxi"
# #
### Test for some coercions ### Test for some coercions
......
...@@ -46,7 +46,7 @@ def testcase(func): ...@@ -46,7 +46,7 @@ def testcase(func):
return wrapper return wrapper
include "mockbuffers.pxi" include "../buffers/mockbuffers.pxi"
include "cythonarrayutil.pxi" include "cythonarrayutil.pxi"
def _print_attributes(memview): def _print_attributes(memview):
......
...@@ -12,7 +12,7 @@ import numpy as np ...@@ -12,7 +12,7 @@ import numpy as np
cimport cython cimport cython
include "cythonarrayutil.pxi" include "cythonarrayutil.pxi"
include "mockbuffers.pxi" include "../buffers/mockbuffers.pxi"
ctypedef np.int32_t dtype_t ctypedef np.int32_t dtype_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment