For `test_getitem`, use `allow_newaxis=True` in `xps.indices()` (`hypothesis>=6.45.0`) and update the logic that infers the expected shape.