Skip to content

Commit 9fd4ee7

Browse files
committed
move order
1 parent 7bf25de commit 9fd4ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_testing/asserters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ def _check_types(left, right, obj="Index") -> None:
314314
return
315315

316316
assert_class_equal(left, right, exact=exact, obj=obj)
317-
assert_attr_equal("dtype", left, right, obj=obj)
318317
assert_attr_equal("inferred_type", left, right, obj=obj)
318+
assert_attr_equal("dtype", left, right, obj=obj)
319319

320320
# Skip exact dtype checking when `check_categorical` is False
321321
if (

0 commit comments

Comments
 (0)