@@ -71,7 +71,7 @@ assert_type(divmod(m_td, m_int), tuple[np.int64, np.timedelta64[int | None]]) #
7171assert_type (divmod (m_td , m_td ), tuple [np .int64 , np .timedelta64 [dt .timedelta | None ]]) # pyright: ignore[reportArgumentType, reportAssertTypeFailure, reportCallIssue]
7272
7373assert_type (divmod (AR_m , m ), tuple [_nt .Array [np .int64 ], _nt .Array [np .timedelta64 ]])
74- assert_type (divmod (m , AR_m ), tuple [_nt .Array [np .int64 ], _nt .Array [np .timedelta64 ]])
74+ assert_type (divmod (m , AR_m ), tuple [_nt .Array [np .int64 ], _nt .Array [np .timedelta64 ]]) # pyright: ignore[reportAssertTypeFailure, reportCallIssue]
7575
7676# Bool
7777assert_type (b_ % b , np .int8 )
@@ -90,7 +90,7 @@ assert_type(divmod(b_, f), tuple[np.float64, np.float64]) # pyright: ignore[rep
9090assert_type (divmod (b_ , i8 ), tuple [np .int64 , np .int64 ])
9191assert_type (divmod (b_ , u8 ), tuple [np .uint64 , np .uint64 ])
9292assert_type (divmod (b_ , f8 ), tuple [np .float64 , np .float64 ])
93- assert_type (divmod (b_ , AR_b ), tuple [_nt .Array [np .int8 ], _nt .Array [np .int8 ]])
93+ assert_type (divmod (b_ , AR_b ), tuple [_nt .Array [np .int8 ], _nt .Array [np .int8 ]]) # pyright: ignore[reportAssertTypeFailure, reportCallIssue]
9494
9595assert_type (b % b_ , np .int8 )
9696assert_type (i % b_ , np .intp )
@@ -130,7 +130,7 @@ assert_type(divmod(i8, i8), tuple[np.int64, np.int64])
130130assert_type (divmod (i8 , f8 ), tuple [np .float64 , np .float64 ])
131131assert_type (divmod (i8 , f4 ), tuple [np .float64 , np .float64 ])
132132assert_type (divmod (i4 , i4 ), tuple [np .int32 , np .int32 ])
133- assert_type (divmod (i8 , AR_b ), tuple [_nt .Array [np .int64 ], _nt .Array [np .int64 ]])
133+ assert_type (divmod (i8 , AR_b ), tuple [_nt .Array [np .int64 ], _nt .Array [np .int64 ]]) # pyright: ignore[reportAssertTypeFailure, reportCallIssue]
134134
135135assert_type (b % i8 , np .int64 )
136136assert_type (f % i8 , np .float64 )
@@ -165,7 +165,7 @@ assert_type(divmod(f8, f), tuple[np.float64, np.float64])
165165assert_type (divmod (f8 , f8 ), tuple [np .float64 , np .float64 ])
166166assert_type (divmod (f8 , f4 ), tuple [np .float64 , np .float64 ])
167167assert_type (divmod (f4 , f4 ), tuple [np .float32 , np .float32 ])
168- assert_type (divmod (f8 , AR_b ), tuple [_nt .Array [np .float64 ], _nt .Array [np .float64 ]])
168+ assert_type (divmod (f8 , AR_b ), tuple [_nt .Array [np .float64 ], _nt .Array [np .float64 ]]) # pyright: ignore[reportAssertTypeFailure, reportCallIssue]
169169
170170assert_type (b % f8 , np .float64 )
171171assert_type (f % f8 , np .float64 ) # pyright: ignore[reportAssertTypeFailure] # pyright incorrectly infers `float`
0 commit comments