@@ -46,11 +46,13 @@ assert_type(np.choose([1], [True, True]), npt.NDArray[Any])
4646assert_type (np .choose ([1 ], AR_b ), npt .NDArray [np .bool ])
4747assert_type (np .choose ([1 ], AR_b , out = AR_f4 ), npt .NDArray [np .float32 ])
4848
49- assert_type (np .repeat (b , 1 ), npt .NDArray [np .bool ])
50- assert_type (np .repeat (f4 , 1 ), npt .NDArray [np .float32 ])
51- assert_type (np .repeat (f , 1 ), npt .NDArray [Any ])
52- assert_type (np .repeat (AR_b , 1 ), npt .NDArray [np .bool ])
53- assert_type (np .repeat (AR_f4 , 1 ), npt .NDArray [np .float32 ])
49+ assert_type (np .repeat (b , 1 ), np .ndarray [tuple [int ], np .dtype [np .bool ]])
50+ assert_type (np .repeat (b , 1 , axis = 0 ), npt .NDArray [np .bool ])
51+ assert_type (np .repeat (f4 , 1 ), np .ndarray [tuple [int ], np .dtype [np .float32 ]])
52+ assert_type (np .repeat (f , 1 ), np .ndarray [tuple [int ], np .dtype [Any ]])
53+ assert_type (np .repeat (AR_b , 1 ), np .ndarray [tuple [int ], np .dtype [np .bool ]])
54+ assert_type (np .repeat (AR_f4 , 1 ), np .ndarray [tuple [int ], np .dtype [np .float32 ]])
55+ assert_type (np .repeat (AR_f4 , 1 , axis = 0 ), npt .NDArray [np .float32 ])
5456
5557# TODO: array_bdd tests for np.put()
5658
0 commit comments