Skip to content

Commit 2532698

Browse files
committed
revert changes in pandas/_testing/asserters.py
1 parent 00c26d4 commit 2532698

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

pandas/_testing/asserters.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,23 +1384,13 @@ def assert_equal(left, right, **kwargs) -> None:
13841384
__tracebackhide__ = True
13851385

13861386
if isinstance(left, Index):
1387-
exact = kwargs.pop("exact", True)
1388-
assert_index_equal(left, right, exact=exact, **kwargs)
1387+
assert_index_equal(left, right, **kwargs)
13891388
if isinstance(left, (DatetimeIndex, TimedeltaIndex)):
13901389
assert left.freq == right.freq, (left.freq, right.freq)
13911390
elif isinstance(left, Series):
1392-
check_index_type = kwargs.pop("check_index_type", True)
1393-
assert_series_equal(left, right, check_index_type=check_index_type, **kwargs)
1391+
assert_series_equal(left, right, **kwargs)
13941392
elif isinstance(left, DataFrame):
1395-
check_index_type = kwargs.pop("check_index_type", True)
1396-
check_column_type = kwargs.pop("check_column_type", True)
1397-
assert_frame_equal(
1398-
left,
1399-
right,
1400-
check_index_type=check_index_type,
1401-
check_column_type=check_column_type,
1402-
**kwargs,
1403-
)
1393+
assert_frame_equal(left, right, **kwargs)
14041394
elif isinstance(left, IntervalArray):
14051395
assert_interval_array_equal(left, right, **kwargs)
14061396
elif isinstance(left, PeriodArray):

0 commit comments

Comments
 (0)