BUG: Suppress FutureWarning when comparing object arrays

Fixes #7065
this needs a ipython block (I don't think the previous one carries thru)