Skip to content

Commit

Permalink
Move memoryview and buffer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markflorisson committed Jun 19, 2012
1 parent b337929 commit ea8e64b
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions tests/memoryview/bufaccess.h
@@ -0,0 +1,5 @@
/* See bufaccess.pyx */

typedef short td_h_short;
typedef double td_h_double;
typedef unsigned short td_h_ushort;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -17,7 +17,7 @@ cimport cython
cdef extern from "Python.h":
cdef int PyBUF_C_CONTIGUOUS

include "mockbuffers.pxi"
include "../buffers/mockbuffers.pxi"

#
### Test for some coercions
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/run/memslice.pyx → tests/memoryview/memslice.pyx
Expand Up @@ -46,7 +46,7 @@ def testcase(func):
return wrapper


include "mockbuffers.pxi"
include "../buffers/mockbuffers.pxi"
include "cythonarrayutil.pxi"

def _print_attributes(memview):
Expand Down
Expand Up @@ -12,7 +12,7 @@ import numpy as np
cimport cython

include "cythonarrayutil.pxi"
include "mockbuffers.pxi"
include "../buffers/mockbuffers.pxi"

ctypedef np.int32_t dtype_t

Expand Down

0 comments on commit ea8e64b

Please sign in to comment.