TST: fix assert_equal for pandas index, (was left out of PR #1887)
Merge pull request #1899 from josef-pkt/pandas_compat_assert

TST: fix assert_equal for pandas index