summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-10-31 22:31:17 +0100
committerStefan Behnel <stefan_ml@behnel.de>2018-11-02 09:10:13 +0100
commit66844d8258a316689e5cccb856ded468fe652a40 (patch)
tree751b7f8ef07feff468e7e7aefc46c0c03acf677f
parenta667310d14df6a2cf8a93c6c707c832ffda810f3 (diff)
downloadcython-66844d8258a316689e5cccb856ded468fe652a40.tar.gz
Fix doctest.
-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 a246aa13e..cf9e92971 100644
--- a/tests/memoryview/numpy_memoryview.pyx
+++ b/tests/memoryview/numpy_memoryview.pyx
@@ -708,7 +708,7 @@ def test_boundscheck_and_wraparound(double[:, :] x):
"""
>>> import numpy as np
>>> array = np.ones((2,2)) * 3.5
- >>> testing_memoryview(array)
+ >>> test_boundscheck_and_wraparound(array)
"""
# Make sure we don't generate C compiler warnings for unused code here.
cdef Py_ssize_t numrow = x.shape[0]