CLN: trim unnecessary code in indexing tests
The remaining roadblock to removing ix in #27620 involves a bunch of tests that call this check_result.  This simplifies check_result in the hopes of making that roadblock easier.
sure