Attribute "dtype" are different error with testing.assert_frame_equal · Issue #35715 · pandas-dev/pandas (original) (raw)

Hi,
When trying testing.assert_frame_equal, I get an assert error.
E Attribute "dtype" are different
E [left]: Int64
E [right]: Int16

However, for assert_frame_equal, I do set the argument check_dtype=False.

From traceback, I can see that assert_extension_array_equal is being called with check_dtype=True which is causing the issue.

I do not have a sample at hand and I will update when I can.

Affected version: 1.1.0
The test cases were / are running fine with 1.0.5