Your IP : 18.119.116.77


Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/typing/tests/data/fail/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/typing/tests/data/fail/numerictypes.pyi

import numpy as np

# Technically this works, but probably shouldn't. See
#
# https://github.com/numpy/numpy/issues/16366
#
np.maximum_sctype(1)  # E: No overload variant

np.issubsctype(1, np.int64)  # E: incompatible type

np.issubdtype(1, np.int64)  # E: incompatible type

?>