summaryrefslogtreecommitdiff
path: root/tests/memoryview/numpy_memoryview.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/memoryview/numpy_memoryview.pyx')
-rw-r--r--tests/memoryview/numpy_memoryview.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/memoryview/numpy_memoryview.pyx b/tests/memoryview/numpy_memoryview.pyx
index 350e94489..2af6bfea4 100644
--- a/tests/memoryview/numpy_memoryview.pyx
+++ b/tests/memoryview/numpy_memoryview.pyx
@@ -248,7 +248,7 @@ cdef extern from "bufaccess.h":
ctypedef unsigned int td_h_ushort # Defined as unsigned short
ctypedef td_h_short td_h_cy_short
-cdef void dealloc_callback(void *data):
+cdef void dealloc_callback(void *data) noexcept:
print "deallocating..."
def build_numarray(array array):