projektAI/venv/Lib/site-packages/numpy/typing/tests/data/pass/warnings_and_errors.py
2021-06-06 22:13:05 +02:00

8 lines
172 B
Python

import numpy as np
np.AxisError(1)
np.AxisError(1, ndim=2)
np.AxisError(1, ndim=None)
np.AxisError(1, ndim=2, msg_prefix="error")
np.AxisError(1, ndim=2, msg_prefix=None)