File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1654,7 +1654,7 @@ def pandas_dtype(dtype) -> DtypeObj:
1654
1654
# raise a consistent TypeError if failed
1655
1655
try :
1656
1656
with warnings .catch_warnings ():
1657
- # TODO: warnings.catch_warnings can be removed when numpy>2.2.2
1657
+ # TODO: warnings.catch_warnings can be removed when numpy>2.3.0
1658
1658
# is the minimum version
1659
1659
# GH#51523 - Series.astype(np.integer) doesn't show
1660
1660
# numpy deprecation warning of np.integer
Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ def test_validate_allhashable():
789
789
790
790
def test_pandas_dtype_numpy_warning ():
791
791
# GH#51523
792
- if Version (np .__version__ ) <= Version ("2.2.2 " ):
792
+ if Version (np .__version__ ) < Version ("2.3.0.dev0 " ):
793
793
ctx = tm .assert_produces_warning (
794
794
DeprecationWarning ,
795
795
check_stacklevel = False ,
You can’t perform that action at this time.
0 commit comments