@@ -11,33 +11,33 @@ AR_U: npt.NDArray[np.str_]
1111AR_S : npt .NDArray [np .bytes_ ]
1212AR_T : AR_T_alias
1313
14- assert_type (np .strings .equal (AR_U , AR_U ), npt . NDArray [ np .bool ] )
15- assert_type (np .strings .equal (AR_S , AR_S ), npt . NDArray [ np .bool ] )
16- assert_type (np .strings .equal (AR_T , AR_T ), npt . NDArray [ np .bool ] )
14+ assert_type (np .strings .equal (AR_U , AR_U ), np .ndarray )
15+ assert_type (np .strings .equal (AR_S , AR_S ), np .ndarray )
16+ assert_type (np .strings .equal (AR_T , AR_T ), np .ndarray )
1717
18- assert_type (np .strings .not_equal (AR_U , AR_U ), npt . NDArray [ np .bool ] )
19- assert_type (np .strings .not_equal (AR_S , AR_S ), npt . NDArray [ np .bool ] )
20- assert_type (np .strings .not_equal (AR_T , AR_T ), npt . NDArray [ np .bool ] )
18+ assert_type (np .strings .not_equal (AR_U , AR_U ), np .ndarray )
19+ assert_type (np .strings .not_equal (AR_S , AR_S ), np .ndarray )
20+ assert_type (np .strings .not_equal (AR_T , AR_T ), np .ndarray )
2121
22- assert_type (np .strings .greater_equal (AR_U , AR_U ), npt . NDArray [ np .bool ] )
23- assert_type (np .strings .greater_equal (AR_S , AR_S ), npt . NDArray [ np .bool ] )
24- assert_type (np .strings .greater_equal (AR_T , AR_T ), npt . NDArray [ np .bool ] )
22+ assert_type (np .strings .greater_equal (AR_U , AR_U ), np .ndarray )
23+ assert_type (np .strings .greater_equal (AR_S , AR_S ), np .ndarray )
24+ assert_type (np .strings .greater_equal (AR_T , AR_T ), np .ndarray )
2525
26- assert_type (np .strings .less_equal (AR_U , AR_U ), npt . NDArray [ np .bool ] )
27- assert_type (np .strings .less_equal (AR_S , AR_S ), npt . NDArray [ np .bool ] )
28- assert_type (np .strings .less_equal (AR_T , AR_T ), npt . NDArray [ np .bool ] )
26+ assert_type (np .strings .less_equal (AR_U , AR_U ), np .ndarray )
27+ assert_type (np .strings .less_equal (AR_S , AR_S ), np .ndarray )
28+ assert_type (np .strings .less_equal (AR_T , AR_T ), np .ndarray )
2929
30- assert_type (np .strings .greater (AR_U , AR_U ), npt . NDArray [ np .bool ] )
31- assert_type (np .strings .greater (AR_S , AR_S ), npt . NDArray [ np .bool ] )
32- assert_type (np .strings .greater (AR_T , AR_T ), npt . NDArray [ np .bool ] )
30+ assert_type (np .strings .greater (AR_U , AR_U ), np .ndarray )
31+ assert_type (np .strings .greater (AR_S , AR_S ), np .ndarray )
32+ assert_type (np .strings .greater (AR_T , AR_T ), np .ndarray )
3333
34- assert_type (np .strings .less (AR_U , AR_U ), npt . NDArray [ np .bool ] )
35- assert_type (np .strings .less (AR_S , AR_S ), npt . NDArray [ np .bool ] )
36- assert_type (np .strings .less (AR_T , AR_T ), npt . NDArray [ np .bool ] )
34+ assert_type (np .strings .less (AR_U , AR_U ), np .ndarray )
35+ assert_type (np .strings .less (AR_S , AR_S ), np .ndarray )
36+ assert_type (np .strings .less (AR_T , AR_T ), np .ndarray )
3737
38- assert_type (np .strings .add (AR_U , AR_U ), npt . NDArray [ np .str_ ] )
39- assert_type (np .strings .add (AR_S , AR_S ), npt . NDArray [ np .bytes_ ] )
40- assert_type (np .strings .add (AR_T , AR_T ), AR_T_alias )
38+ assert_type (np .strings .add (AR_U , AR_U ), np .ndarray )
39+ assert_type (np .strings .add (AR_S , AR_S ), np .ndarray )
40+ assert_type (np .strings .add (AR_T , AR_T ), np . ndarray )
4141
4242assert_type (np .strings .multiply (AR_U , 5 ), npt .NDArray [np .str_ ])
4343assert_type (np .strings .multiply (AR_S , [5 , 4 , 3 ]), npt .NDArray [np .bytes_ ])
0 commit comments