 BUG: assert_frame_equal raising TypeError with check_like and mixed dtype in Index or columns
- [x] closes #39168
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry

Worked on 1.1.5 for assert_frame_equal and was not supported for assert_index_equal