summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-11-29 17:56:10 +0100
committerGitHub <noreply@github.com>2022-11-29 17:56:10 +0100
commit2cf8c40727b08c029cdaf7fce803d031a60499a2 (patch)
treea59d6662d17e7bfad1e94b36ab4a77930574c3a0 /doc/source/reference
parent7f0f045625022c3f816911cd80f8635ac2a36f21 (diff)
parent1a8d3ca45f0a7294784bc200ec436dc8563f654a (diff)
downloadnumpy-2cf8c40727b08c029cdaf7fce803d031a60499a2.tar.gz
Merge pull request #22533 from ngoldbaum/ufunc-and-function-listing
API: Add numpy.testing.overrides to aid testing of custom array containers
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