@@ -3,27 +3,27 @@ from typing import assert_type
3
3
import _numtype as _nt
4
4
import numpy as np
5
5
6
- AR_u : _nt .Array [np .uint32 ]
6
+ AR_u4 : _nt .Array [np .uint32 ]
7
7
AR_U : _nt .Array [np .str_ ]
8
8
AR_LIKE_b : list [bool ]
9
9
AR_LIKE_i : list [int ]
10
10
AR_LIKE_f : list [float ]
11
11
12
12
###
13
13
14
- assert_type (np .fix (AR_u ), _nt .Array [np .uint32 ])
14
+ assert_type (np .fix (AR_u4 ), _nt .Array [np .uint32 ])
15
15
assert_type (np .fix (AR_LIKE_b ), _nt .Array [np .bool ])
16
16
assert_type (np .fix (AR_LIKE_i ), _nt .Array [np .intp ])
17
17
assert_type (np .fix (AR_LIKE_f ), _nt .Array [np .float64 ])
18
18
assert_type (np .fix (AR_LIKE_f , out = AR_U ), _nt .Array [np .str_ ])
19
19
20
- assert_type (np .isposinf (AR_u ), _nt .Array [np .bool ])
20
+ assert_type (np .isposinf (AR_u4 ), _nt .Array [np .bool ])
21
21
assert_type (np .isposinf (AR_LIKE_b ), _nt .Array1D [np .bool ])
22
22
assert_type (np .isposinf (AR_LIKE_i ), _nt .Array1D [np .bool ])
23
23
assert_type (np .isposinf (AR_LIKE_f ), _nt .Array1D [np .bool ])
24
24
assert_type (np .isposinf (AR_LIKE_f , out = AR_U ), _nt .Array [np .str_ ])
25
25
26
- assert_type (np .isneginf (AR_u ), _nt .Array [np .bool ])
26
+ assert_type (np .isneginf (AR_u4 ), _nt .Array [np .bool ])
27
27
assert_type (np .isneginf (AR_LIKE_b ), _nt .Array1D [np .bool ])
28
28
assert_type (np .isneginf (AR_LIKE_i ), _nt .Array1D [np .bool ])
29
29
assert_type (np .isneginf (AR_LIKE_f ), _nt .Array1D [np .bool ])
0 commit comments