diff options
Diffstat (limited to 'tests/memoryview/error_declarations.pyx')
-rw-r--r-- | tests/memoryview/error_declarations.pyx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/memoryview/error_declarations.pyx b/tests/memoryview/error_declarations.pyx index 0f6c52043..8c4f12a56 100644 --- a/tests/memoryview/error_declarations.pyx +++ b/tests/memoryview/error_declarations.pyx @@ -73,24 +73,24 @@ _ERRORS = u''' 13:19: Step must be omitted, 1, or a valid specifier. 14:20: Step must be omitted, 1, or a valid specifier. 15:20: Step must be omitted, 1, or a valid specifier. -16:17: Start must not be given. -17:18: Start must not be given. +16:15: Start must not be given. +17:17: Start must not be given. 18:22: Axis specification only allowed in the 'step' slot. -19:19: Fortran contiguous specifier must follow an indirect dimension +19:18: Fortran contiguous specifier must follow an indirect dimension 20:22: Invalid axis specification. 21:19: Invalid axis specification. 22:22: no expressions allowed in axis spec, only names and literals. 25:37: Memoryview 'object[::1, :]' not conformable to memoryview 'object[:, ::1]'. 28:17: Different base types for memoryviews (int, Python object) -31:9: Dimension may not be contiguous -37:9: Only one direct contiguous axis may be specified. -38:9:Only dimensions 3 and 2 may be contiguous and direct -44:10: Invalid base type for memoryview slice: intp +31:8: Dimension may not be contiguous +37:8: Only one direct contiguous axis may be specified. +38:8:Only dimensions 3 and 2 may be contiguous and direct +44:9: Invalid base type for memoryview slice: intp 46:35: Can only create cython.array from pointer or array 47:24: Cannot assign type 'double' to 'Py_ssize_t' -55:13: Invalid base type for memoryview slice: Invalid +55:12: Invalid base type for memoryview slice: Invalid 58:6: More dimensions than the maximum number of buffer dimensions were used. 59:6: More dimensions than the maximum number of buffer dimensions were used. -61:9: More dimensions than the maximum number of buffer dimensions were used. +61:8: More dimensions than the maximum number of buffer dimensions were used. 64:13: Cannot take address of memoryview slice ''' |