/opt/imh-python/lib/python3.9/site-packages/numpy/typing/tests/data/pass
NameSizeModeActions
__pycache__/-0755rm
arithmetic.py74550644editdlrm
arrayprint.py7660644editdlrm
arrayterator.py3930644editdlrm
array_constructors.py24190644editdlrm
array_like.py9160644editdlrm
bitwise_ops.py9700644editdlrm
comparisons.py29920644editdlrm
dtype.py10690644editdlrm
einsumfunc.py13700644editdlrm
flatiter.py1740644editdlrm
fromnumeric.py37420644editdlrm
index_tricks.py14920644editdlrm
lib_utils.py4340644editdlrm
lib_version.py2990644editdlrm
literal.py13310644editdlrm
mod.py15780644editdlrm
modules.py5760644editdlrm
multiarray.py13310644editdlrm
ndarray_conversion.py16260644editdlrm
ndarray_misc.py27150644editdlrm
ndarray_shape_manipulation.py6400644editdlrm
numeric.py14900644editdlrm
numerictypes.py7500644editdlrm
random.py618810644editdlrm
scalars.py34790644editdlrm
simple.py26760644editdlrm
simple_py3.py960644editdlrm
ufunclike.py10390644editdlrm
ufuncs.py4620644editdlrm
ufunc_config.py12040644editdlrm
warnings_and_errors.py1500644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/numpy/typing/tests/data/pass/mod.py (1578B)
import numpy as np f8 = np.float64(1) i8 = np.int64(1) u8 = np.uint64(1) f4 = np.float32(1) i4 = np.int32(1) u4 = np.uint32(1) td = np.timedelta64(1, "D") b_ = np.bool_(1) b = bool(1) f = float(1) i = int(1) AR = np.array([1], dtype=np.bool_) AR.setflags(write=False) AR2 = np.array([1], dtype=np.timedelta64) AR2.setflags(write=False) # Time structures td % td td % AR2 AR2 % td divmod(td, td) divmod(td, AR2) divmod(AR2, td) # Bool b_ % b b_ % i b_ % f b_ % b_ b_ % i8 b_ % u8 b_ % f8 b_ % AR divmod(b_, b) divmod(b_, i) divmod(b_, f) divmod(b_, b_) divmod(b_, i8) divmod(b_, u8) divmod(b_, f8) divmod(b_, AR) b % b_ i % b_ f % b_ b_ % b_ i8 % b_ u8 % b_ f8 % b_ AR % b_ divmod(b, b_) divmod(i, b_) divmod(f, b_) divmod(b_, b_) divmod(i8, b_) divmod(u8, b_) divmod(f8, b_) divmod(AR, b_) # int i8 % b i8 % i i8 % f i8 % i8 i8 % f8 i4 % i8 i4 % f8 i4 % i4 i4 % f4 i8 % AR divmod(i8, b) divmod(i8, i) divmod(i8, f) divmod(i8, i8) divmod(i8, f8) divmod(i8, i4) divmod(i8, f4) divmod(i4, i4) divmod(i4, f4) divmod(i8, AR) b % i8 i % i8 f % i8 i8 % i8 f8 % i8 i8 % i4 f8 % i4 i4 % i4 f4 % i4 AR % i8 divmod(b, i8) divmod(i, i8) divmod(f, i8) divmod(i8, i8) divmod(f8, i8) divmod(i4, i8) divmod(f4, i8) divmod(i4, i4) divmod(f4, i4) divmod(AR, i8) # float f8 % b f8 % i f8 % f i8 % f4 f4 % f4 f8 % AR divmod(f8, b) divmod(f8, i) divmod(f8, f) divmod(f8, f8) divmod(f8, f4) divmod(f4, f4) divmod(f8, AR) b % f8 i % f8 f % f8 f8 % f8 f8 % f8 f4 % f4 AR % f8 divmod(b, f8) divmod(i, f8) divmod(f, f8) divmod(f8, f8) divmod(f4, f8) divmod(f4, f4) divmod(AR, f8)