René's URL Explorer Experiment


Title: numpy.testing.assert_warns — NumPy v2.6.dev0 Manual

direct link

Domain: numpy.org

docsearch:languageen
docsearch:version2.6.dev0
docbuild:last-updateJul 07, 2026

Links:

Skip to main contenthttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_warns.html#main-content
https://numpy.org/devdocs/index.html
User Guide https://numpy.org/devdocs/user/index.html
API reference https://numpy.org/devdocs/reference/index.html
Building from source https://numpy.org/devdocs/building/index.html
Development https://numpy.org/devdocs/dev/index.html
Release notes https://numpy.org/devdocs/release.html
Learn https://numpy.org/numpy-tutorials/
NEPs https://numpy.org/neps
GitHubhttps://github.com/numpy/numpy
User Guide https://numpy.org/devdocs/user/index.html
API reference https://numpy.org/devdocs/reference/index.html
Building from source https://numpy.org/devdocs/building/index.html
Development https://numpy.org/devdocs/dev/index.html
Release notes https://numpy.org/devdocs/release.html
Learn https://numpy.org/numpy-tutorials/
NEPs https://numpy.org/neps
GitHubhttps://github.com/numpy/numpy
NumPy’s module structurehttps://numpy.org/devdocs/reference/module_structure.html
Array objectshttps://numpy.org/devdocs/reference/arrays.html
Universal functions (ufunc)https://numpy.org/devdocs/reference/ufuncs.html
Routines and objects by topichttps://numpy.org/devdocs/reference/routines.html
Constantshttps://numpy.org/devdocs/reference/constants.html
Array creation routineshttps://numpy.org/devdocs/reference/routines.array-creation.html
Array manipulation routineshttps://numpy.org/devdocs/reference/routines.array-manipulation.html
Bit-wise operationshttps://numpy.org/devdocs/reference/routines.bitwise.html
String functionalityhttps://numpy.org/devdocs/reference/routines.strings.html
Datetime support functionshttps://numpy.org/devdocs/reference/routines.datetime.html
Data type routineshttps://numpy.org/devdocs/reference/routines.dtype.html
Mathematical functions with automatic domainhttps://numpy.org/devdocs/reference/routines.emath.html
Floating point error handlinghttps://numpy.org/devdocs/reference/routines.err.html
Exceptions and Warningshttps://numpy.org/devdocs/reference/routines.exceptions.html
Discrete Fourier Transformhttps://numpy.org/devdocs/reference/routines.fft.html
Functional programminghttps://numpy.org/devdocs/reference/routines.functional.html
Input and outputhttps://numpy.org/devdocs/reference/routines.io.html
Indexing routineshttps://numpy.org/devdocs/reference/routines.indexing.html
Linear algebrahttps://numpy.org/devdocs/reference/routines.linalg.html
Logic functionshttps://numpy.org/devdocs/reference/routines.logic.html
Masked array operationshttps://numpy.org/devdocs/reference/routines.ma.html
Mathematical functionshttps://numpy.org/devdocs/reference/routines.math.html
Miscellaneous routineshttps://numpy.org/devdocs/reference/routines.other.html
Polynomialshttps://numpy.org/devdocs/reference/routines.polynomials.html
Random samplinghttps://numpy.org/devdocs/reference/random/index.html
Set routineshttps://numpy.org/devdocs/reference/routines.set.html
Sorting, searching, and countinghttps://numpy.org/devdocs/reference/routines.sort.html
Statisticshttps://numpy.org/devdocs/reference/routines.statistics.html
Test supporthttps://numpy.org/devdocs/reference/routines.testing.html
numpy.testing.assert_allclosehttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_allclose.html
numpy.testing.assert_array_almost_equal_nulphttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_array_almost_equal_nulp.html
numpy.testing.assert_array_max_ulphttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_array_max_ulp.html
numpy.testing.assert_array_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_array_equal.html
numpy.testing.assert_array_lesshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_array_less.html
numpy.testing.assert_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_equal.html
numpy.testing.assert_raiseshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_raises.html
numpy.testing.assert_raises_regexhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_raises_regex.html
numpy.testing.assert_warnshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_warns.html
numpy.testing.assert_no_warningshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_no_warnings.html
numpy.testing.assert_no_gc_cycleshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_no_gc_cycles.html
numpy.testing.assert_string_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_string_equal.html
numpy.testing.assert_https://numpy.org/devdocs/reference/generated/numpy.testing.assert_.html
numpy.testing.assert_almost_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_almost_equal.html
numpy.testing.assert_approx_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_approx_equal.html
numpy.testing.assert_array_almost_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_array_almost_equal.html
numpy.testing.print_assert_equalhttps://numpy.org/devdocs/reference/generated/numpy.testing.print_assert_equal.html
numpy.testing.decorate_methodshttps://numpy.org/devdocs/reference/generated/numpy.testing.decorate_methods.html
numpy.testing.clear_and_catch_warningshttps://numpy.org/devdocs/reference/generated/numpy.testing.clear_and_catch_warnings.html
numpy.testing.measurehttps://numpy.org/devdocs/reference/generated/numpy.testing.measure.html
numpy.testing.rundocshttps://numpy.org/devdocs/reference/generated/numpy.testing.rundocs.html
numpy.testing.suppress_warningshttps://numpy.org/devdocs/reference/generated/numpy.testing.suppress_warnings.html
numpy.testing.overrides.allows_array_function_overridehttps://numpy.org/devdocs/reference/generated/numpy.testing.overrides.allows_array_function_override.html
numpy.testing.overrides.allows_array_ufunc_overridehttps://numpy.org/devdocs/reference/generated/numpy.testing.overrides.allows_array_ufunc_override.html
numpy.testing.overrides.get_overridable_numpy_ufuncshttps://numpy.org/devdocs/reference/generated/numpy.testing.overrides.get_overridable_numpy_ufuncs.html
numpy.testing.overrides.get_overridable_numpy_array_functionshttps://numpy.org/devdocs/reference/generated/numpy.testing.overrides.get_overridable_numpy_array_functions.html
Testing guidelineshttps://numpy.org/devdocs/reference/testing.html
Window functionshttps://numpy.org/devdocs/reference/routines.window.html
Typing (numpy.typing)https://numpy.org/devdocs/reference/typing.html
NumPy C-APIhttps://numpy.org/devdocs/reference/c-api/index.html
Array API standard compatibilityhttps://numpy.org/devdocs/reference/array_api.html
CPU/SIMD optimizationshttps://numpy.org/devdocs/reference/simd/index.html
Thread Safetyhttps://numpy.org/devdocs/reference/thread_safety.html
Global Configuration Optionshttps://numpy.org/devdocs/reference/global_state.html
NumPy securityhttps://numpy.org/devdocs/reference/security.html
Testing guidelineshttps://numpy.org/devdocs/reference/testing.html
Status of numpy.distutils and migration advicehttps://numpy.org/devdocs/reference/distutils_status_migration.html
NumPy and SWIGhttps://numpy.org/devdocs/reference/swig.html
https://numpy.org/devdocs/index.html
NumPy referencehttps://numpy.org/devdocs/reference/index.html
NumPy’s module structurehttps://numpy.org/devdocs/reference/module_structure.html
Test supporthttps://numpy.org/devdocs/reference/routines.testing.html
#https://numpy.org/devdocs/reference/generated/numpy.testing.assert_warns.html#numpy-testing-assert-warns
[source]https://github.com/numpy/numpy/blob/main/numpy/testing/_private/utils.py#L2000-L2066
#https://numpy.org/devdocs/reference/generated/numpy.testing.assert_warns.html#numpy.testing.assert_warns
warnings.catch_warningshttps://docs.python.org/3/library/warnings.html#warnings.catch_warnings
previous numpy.testing.assert_raises_regex https://numpy.org/devdocs/reference/generated/numpy.testing.assert_raises_regex.html
next numpy.testing.assert_no_warnings https://numpy.org/devdocs/reference/generated/numpy.testing.assert_no_warnings.html
testing.assert_warnshttps://numpy.org/devdocs/reference/generated/numpy.testing.assert_warns.html#numpy.testing.assert_warns
Sphinxhttps://www.sphinx-doc.org/
PyData Sphinx Themehttps://pydata-sphinx-theme.readthedocs.io/en/stable/index.html

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.