summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorNathan Goldbaum <nathan.goldbaum@gmail.com>2022-11-04 12:13:56 -0600
committerNathan Goldbaum <nathan.goldbaum@gmail.com>2022-11-16 09:14:25 -0700
commit1a8d3ca45f0a7294784bc200ec436dc8563f654a (patch)
treeae1e1a7d00205ca9ce3cbf4a9345904f4a09e2e8 /doc/source/reference
parent6aacc5167983d7c6f8689d7039294f2fc0d5f5fb (diff)
downloadnumpy-1a8d3ca45f0a7294784bc200ec436dc8563f654a.tar.gz
API: Add numpy.testing.overrides to aid testing of custom array containers
Closes #15544
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/routines.rst1
-rw-r--r--doc/source/reference/routines.testing.overrides.rst18
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/source/reference/routines.rst b/doc/source/reference/routines.rst
index 593d017cc..24117895b 100644
--- a/doc/source/reference/routines.rst
+++ b/doc/source/reference/routines.rst
@@ -44,4 +44,5 @@ indentation.
routines.sort
routines.statistics
routines.testing
+ routines.testing.overrides
routines.window
diff --git a/doc/source/reference/routines.testing.overrides.rst b/doc/source/reference/routines.testing.overrides.rst
new file mode 100644
index 000000000..262852633
--- /dev/null
+++ b/doc/source/reference/routines.testing.overrides.rst
@@ -0,0 +1,18 @@
+.. module:: numpy.testing.overrides
+
+Support for testing overrides (:mod:`numpy.testing.overrides`)
+==============================================================
+
+.. currentmodule:: numpy.testing.overrides
+
+Support for testing custom array container implementations.
+
+Utility Functions
+-----------------
+.. autosummary::
+ :toctree: generated/
+
+ allows_array_function_override
+ allows_array_ufunc_override
+ get_overridable_numpy_ufuncs
+ get_overridable_numpy_array_functions