Skip to content

Commit b353b02

Browse files
committed
Use np.integer instead of np.int_
1 parent adc8df5 commit b353b02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_series.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,9 @@ def test_types_groupby_methods() -> None:
678678

679679
s2 = pd.Series(["w", "x", "y", "z"], index=[3, 4, 3, 4], dtype=str)
680680
check(
681-
assert_type(s2.groupby(level=0).count(), "pd.Series[int]"), pd.Series, np.int_
681+
assert_type(s2.groupby(level=0).count(), "pd.Series[int]"),
682+
pd.Series,
683+
np.integer,
682684
)
683685

684686

0 commit comments

Comments
 (0)