Browse files

Move memoryview and buffer tests

  • Loading branch information...
1 parent b337929 commit ea8e64b9dc6238f18d8f5091ae6d962ed9bf81b8 @markflorisson markflorisson committed Jun 19, 2012
View
0 tests/run/bufaccess.h → tests/buffers/bufaccess.h
File renamed without changes.
View
0 tests/run/bufaccess.pyx → tests/buffers/bufaccess.pyx
File renamed without changes.
View
0 tests/run/buffer.pyx → tests/buffers/buffer.pyx
File renamed without changes.
View
0 tests/run/buffmt.pyx → tests/buffers/buffmt.pyx
File renamed without changes.
View
0 tests/run/mockbuffers.pxi → tests/buffers/mockbuffers.pxi
File renamed without changes.
View
5 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;
View
0 tests/compile/memview_declaration.pyx → tests/memoryview/compile_declarations.pyx
File renamed without changes.
View
0 tests/run/cythonarray.pyx → tests/memoryview/cythonarray.pyx
File renamed without changes.
View
0 tests/run/cythonarrayutil.pxi → tests/memoryview/cythonarrayutil.pxi
File renamed without changes.
View
0 tests/errors/memview_declarations.pyx → tests/memoryview/error_declarations.pyx
File renamed without changes.
View
0 tests/run/memoryview.pxd → tests/memoryview/memoryview.pxd
File renamed without changes.
View
2 tests/run/memoryview.pyx → tests/memoryview/memoryview.pyx
@@ -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
View
0 tests/run/memoryview_acq_count.srctree → ...s/memoryview/memoryview_acq_count.srctree
File renamed without changes.
View
0 .../memoryview_compare_type_pointers.srctree → .../memoryview_compare_type_pointers.srctree
File renamed without changes.
View
0 tests/run/memoryviewattrs.pyx → tests/memoryview/memoryviewattrs.pyx
File renamed without changes.
View
2 tests/run/memslice.pyx → tests/memoryview/memslice.pyx
@@ -46,7 +46,7 @@ def testcase(func):
return wrapper
-include "mockbuffers.pxi"
+include "../buffers/mockbuffers.pxi"
include "cythonarrayutil.pxi"
def _print_attributes(memview):
View
2 tests/run/numpy_memoryview.pyx → tests/memoryview/numpy_memoryview.pyx
@@ -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

0 comments on commit ea8e64b

Please sign in to comment.