BUG/TST: bug in the test apparatus when dtypes are equal in a Series but the
         values are not equal
Merge pull request #5434 from jreback/test_fix

BUG/TST: bug in the test apparatus when dtypes are equal in a Series but the values are not equal