@@ -7072,7 +7072,7 @@ def fillna(
7072
7072
"""
7073
7073
inplace = validate_bool_kwarg (inplace , "inplace" )
7074
7074
if inplace :
7075
- if not PYPY and WARNING_CHECK_BROKEN :
7075
+ if not PYPY and not WARNING_CHECK_BROKEN :
7076
7076
if sys .getrefcount (self ) <= REF_COUNT :
7077
7077
warnings .warn (
7078
7078
_chained_assignment_method_msg ,
@@ -7303,7 +7303,7 @@ def ffill(
7303
7303
"""
7304
7304
inplace = validate_bool_kwarg (inplace , "inplace" )
7305
7305
if inplace :
7306
- if not PYPY and WARNING_CHECK_BROKEN :
7306
+ if not PYPY and not WARNING_CHECK_BROKEN :
7307
7307
if sys .getrefcount (self ) <= REF_COUNT :
7308
7308
warnings .warn (
7309
7309
_chained_assignment_method_msg ,
@@ -7443,7 +7443,7 @@ def bfill(
7443
7443
"""
7444
7444
inplace = validate_bool_kwarg (inplace , "inplace" )
7445
7445
if inplace :
7446
- if not PYPY and WARNING_CHECK_BROKEN :
7446
+ if not PYPY and not WARNING_CHECK_BROKEN :
7447
7447
if sys .getrefcount (self ) <= REF_COUNT :
7448
7448
warnings .warn (
7449
7449
_chained_assignment_method_msg ,
@@ -7528,7 +7528,7 @@ def replace(
7528
7528
7529
7529
inplace = validate_bool_kwarg (inplace , "inplace" )
7530
7530
if inplace :
7531
- if not PYPY and WARNING_CHECK_BROKEN :
7531
+ if not PYPY and not WARNING_CHECK_BROKEN :
7532
7532
if sys .getrefcount (self ) <= REF_COUNT :
7533
7533
warnings .warn (
7534
7534
_chained_assignment_method_msg ,
@@ -7891,7 +7891,7 @@ def interpolate(
7891
7891
inplace = validate_bool_kwarg (inplace , "inplace" )
7892
7892
7893
7893
if inplace :
7894
- if not PYPY and WARNING_CHECK_BROKEN :
7894
+ if not PYPY and not WARNING_CHECK_BROKEN :
7895
7895
if sys .getrefcount (self ) <= REF_COUNT :
7896
7896
warnings .warn (
7897
7897
_chained_assignment_method_msg ,
@@ -8475,7 +8475,7 @@ def clip(
8475
8475
inplace = validate_bool_kwarg (inplace , "inplace" )
8476
8476
8477
8477
if inplace :
8478
- if not PYPY and WARNING_CHECK_BROKEN :
8478
+ if not PYPY and not WARNING_CHECK_BROKEN :
8479
8479
if sys .getrefcount (self ) <= REF_COUNT :
8480
8480
warnings .warn (
8481
8481
_chained_assignment_method_msg ,
@@ -10084,7 +10084,7 @@ def where(
10084
10084
"""
10085
10085
inplace = validate_bool_kwarg (inplace , "inplace" )
10086
10086
if inplace :
10087
- if not PYPY and WARNING_CHECK_BROKEN :
10087
+ if not PYPY and not WARNING_CHECK_BROKEN :
10088
10088
if sys .getrefcount (self ) <= REF_COUNT :
10089
10089
warnings .warn (
10090
10090
_chained_assignment_method_msg ,
@@ -10148,7 +10148,7 @@ def mask(
10148
10148
) -> Self | None :
10149
10149
inplace = validate_bool_kwarg (inplace , "inplace" )
10150
10150
if inplace :
10151
- if not PYPY and WARNING_CHECK_BROKEN :
10151
+ if not PYPY and not WARNING_CHECK_BROKEN :
10152
10152
if sys .getrefcount (self ) <= REF_COUNT :
10153
10153
warnings .warn (
10154
10154
_chained_assignment_method_msg ,
0 commit comments