Attribute "dtype" are different error with testing.assert_frame_equal #35715
Labels
Bug
ExtensionArray
Extending pandas with custom dtypes or arrays.
Testing
pandas testing functions or related to the test suite
Milestone
Uh oh!
There was an error while loading. Please reload this page.
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 withcheck_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
The text was updated successfully, but these errors were encountered: