TST: Fix a Arrayterator
typing test failure
#20302
Merged
Arrayterator
typing test failure
#20302