Path: blob/master/ invest-robot-contest_TinkoffBotTwitch-main/venv/lib/python3.8/site-packages/numpy/testing/utils.py
7757 views
"""1Back compatibility utils module. It will import the appropriate2set of tools34"""5import warnings67# 2018-04-04, numpy 1.15.0 ImportWarning8# 2019-09-18, numpy 1.18.0 DeprecatonWarning (changed)9warnings.warn("Importing from numpy.testing.utils is deprecated "10"since 1.15.0, import from numpy.testing instead.",11DeprecationWarning, stacklevel=2)1213from ._private.utils import *14from ._private.utils import _assert_valid_refcount, _gen_alignment_data1516__all__ = [17'assert_equal', 'assert_almost_equal', 'assert_approx_equal',18'assert_array_equal', 'assert_array_less', 'assert_string_equal',19'assert_array_almost_equal', 'assert_raises', 'build_err_msg',20'decorate_methods', 'jiffies', 'memusage', 'print_assert_equal',21'raises', 'rundocs', 'runstring', 'verbose', 'measure',22'assert_', 'assert_array_almost_equal_nulp', 'assert_raises_regex',23'assert_array_max_ulp', 'assert_warns', 'assert_no_warnings',24'assert_allclose', 'IgnoreException', 'clear_and_catch_warnings',25'SkipTest', 'KnownFailureException', 'temppath', 'tempdir', 'IS_PYPY',26'HAS_REFCOUNT', 'suppress_warnings', 'assert_array_compare',27'assert_no_gc_cycles'28]293031