File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1106,7 +1106,6 @@ def assert_series_equal(
1106
1106
obj = str (obj ),
1107
1107
)
1108
1108
elif not check_dtype :
1109
- # When dtype checks are off, treat all missing sentinels as equal.
1110
1109
left_na = np .asarray (left .isna ())
1111
1110
right_na = np .asarray (right .isna ())
1112
1111
assert_numpy_array_equal (
@@ -1125,17 +1124,6 @@ def assert_series_equal(
1125
1124
obj = str (obj ),
1126
1125
index_values = left .index ,
1127
1126
)
1128
- return
1129
- else :
1130
- _testing .assert_almost_equal (
1131
- left ._values ,
1132
- right ._values ,
1133
- rtol = rtol ,
1134
- atol = atol ,
1135
- check_dtype = bool (check_dtype ),
1136
- obj = str (obj ),
1137
- index_values = left .index ,
1138
- )
1139
1127
else :
1140
1128
_testing .assert_almost_equal (
1141
1129
left ._values ,
You can’t perform that action at this time.
0 commit comments