@@ -16,26 +16,32 @@ AR_SUT: BytesArray | StrArray | StringArray
16
16
assert_type (np .char .equal (AR_U , AR_U ), npt .NDArray [np .bool ])
17
17
assert_type (np .char .equal (AR_S , AR_S ), npt .NDArray [np .bool ])
18
18
assert_type (np .char .equal (AR_T , AR_T ), npt .NDArray [np .bool ])
19
+ assert_type (np .char .equal (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
19
20
20
21
assert_type (np .char .not_equal (AR_U , AR_U ), npt .NDArray [np .bool ])
21
22
assert_type (np .char .not_equal (AR_S , AR_S ), npt .NDArray [np .bool ])
22
23
assert_type (np .char .not_equal (AR_T , AR_T ), npt .NDArray [np .bool ])
24
+ assert_type (np .char .not_equal (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
23
25
24
26
assert_type (np .char .greater_equal (AR_U , AR_U ), npt .NDArray [np .bool ])
25
27
assert_type (np .char .greater_equal (AR_S , AR_S ), npt .NDArray [np .bool ])
26
28
assert_type (np .char .greater_equal (AR_T , AR_T ), npt .NDArray [np .bool ])
29
+ assert_type (np .char .greater_equal (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
27
30
28
31
assert_type (np .char .less_equal (AR_U , AR_U ), npt .NDArray [np .bool ])
29
32
assert_type (np .char .less_equal (AR_S , AR_S ), npt .NDArray [np .bool ])
30
33
assert_type (np .char .less_equal (AR_T , AR_T ), npt .NDArray [np .bool ])
34
+ assert_type (np .char .less_equal (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
31
35
32
36
assert_type (np .char .greater (AR_U , AR_U ), npt .NDArray [np .bool ])
33
37
assert_type (np .char .greater (AR_S , AR_S ), npt .NDArray [np .bool ])
34
38
assert_type (np .char .greater (AR_T , AR_T ), npt .NDArray [np .bool ])
39
+ assert_type (np .char .greater (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
35
40
36
41
assert_type (np .char .less (AR_U , AR_U ), npt .NDArray [np .bool ])
37
42
assert_type (np .char .less (AR_S , AR_S ), npt .NDArray [np .bool ])
38
43
assert_type (np .char .less (AR_T , AR_T ), npt .NDArray [np .bool ])
44
+ assert_type (np .char .less (AR_S , AR_U , dtype = np .bool_ ), npt .NDArray [np .bool ])
39
45
40
46
assert_type (np .char .multiply (AR_U , 5 ), StrArray )
41
47
assert_type (np .char .multiply (AR_U , 5 ), StrArray )
0 commit comments