/usr/local/lib64/python3.6/site-packages/numpy/core/tests
NameSizeModeActions
data/-0755rm
__pycache__/-0755rm
test_abc.py23280644editdlrm
test_api.py208060644editdlrm
test_arrayprint.py344930644editdlrm
test_conversion_utils.py49810644editdlrm
test_cpu_features.py67850644editdlrm
test_datetime.py1081920644editdlrm
test_defchararray.py243810644editdlrm
test_deprecations.py241870644editdlrm
test_dtype.py492910644editdlrm
test_einsum.py451970644editdlrm
test_errstate.py20660644editdlrm
test_extint128.py56430644editdlrm
test_function_base.py131480644editdlrm
test_getlimits.py42970644editdlrm
test_half.py231020644editdlrm
test_indexerrors.py51300644editdlrm
test_indexing.py492600644editdlrm
test_item_selection.py35790644editdlrm
test_longdouble.py130410644editdlrm
test_machar.py10660644editdlrm
test_memmap.py74640644editdlrm
test_mem_overlap.py288550644editdlrm
test_multiarray.py3197970644editdlrm
test_nditer.py1122980644editdlrm
test_numeric.py1241180644editdlrm
test_numerictypes.py208460644editdlrm
test_overrides.py144330644editdlrm
test_print.py67370644editdlrm
test_protocols.py11680644editdlrm
test_records.py196940644editdlrm
test_regression.py888400644editdlrm
test_scalarbuffer.py40650644editdlrm
test_scalarinherit.py21270644editdlrm
test_scalarmath.py285650644editdlrm
test_scalarprint.py151580644editdlrm
test_scalar_ctors.py25800644editdlrm
test_scalar_methods.py40630644editdlrm
test_shape_base.py246790644editdlrm
test_ufunc.py839780644editdlrm
test_umath.py1214420644editdlrm
test_umath_accuracy.py30440644editdlrm
test_umath_complex.py231450644editdlrm
test_unicode.py125530644editdlrm
test__exceptions.py20050644editdlrm
_locales.py21920644editdlrm
__init__.py00644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/numpy/core/tests/test_machar.py (1066B)
""" Test machar. Given recent changes to hardcode type data, we might want to get rid of both MachAr and this test at some point. """ from numpy.core.machar import MachAr import numpy.core.numerictypes as ntypes from numpy import errstate, array class TestMachAr: def _run_machar_highprec(self): # Instantiate MachAr instance with high enough precision to cause # underflow try: hiprec = ntypes.float96 MachAr(lambda v: array(v, hiprec)) except AttributeError: # Fixme, this needs to raise a 'skip' exception. "Skipping test: no ntypes.float96 available on this platform." def test_underlow(self): # Regression test for #759: # instantiating MachAr for dtype = np.float96 raises spurious warning. with errstate(all='raise'): try: self._run_machar_highprec() except FloatingPointError as e: msg = "Caught %s exception, should not have been raised." % e raise AssertionError(msg)