Intelegentny_Pszczelarz/.venv/Lib/site-packages/numpy/typing/tests/data/pass/warnings_and_errors.py

7 lines
150 B
Python
Raw Normal View History

2023-06-19 00:49:18 +02:00
import numpy as np
np.AxisError("test")
np.AxisError(1, ndim=2)
np.AxisError(1, ndim=2, msg_prefix="error")
np.AxisError(1, ndim=2, msg_prefix=None)