Skip to content

Commit ce0d1f1

Browse files
author
Santhosh Kumar Bethi
committed
fixing doc string validation error
1 parent 99513c9 commit ce0d1f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/_testing/asserters.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ def assert_series_equal(
884884
Whether to check the Series dtype is identical.
885885
check_dtype : bool, if False
886886
Whether to check the series is equal or not if dtype is
887-
False. (#GH #61473)
888887
check_index_type : bool or {'equiv'}, default 'equiv'
889888
Whether to check the Index class, dtype and inferred_type
890889
are identical.
@@ -1030,7 +1029,7 @@ def assert_series_equal(
10301029
assert_attr_equal("dtype", left, right, obj=f"Attributes of {obj}")
10311030

10321031
if not check_dtype and (left.dtype != right.dtype):
1033-
# checks only when check_dtype is False
1032+
# checks only when check_dtype is False #GH #61473
10341033
lv, rv = left._values, right._values
10351034
lv = np.asarray(lv, dtype=object)
10361035
rv = np.asarray(rv, dtype=object)

0 commit comments

Comments
 (0)