Skip to content

Commit 35bd06f

Browse files
janlodewijkDr-Irv
andauthored
Update tests/test_series.py
Following the pandas pattern. Co-authored-by: Irv Lustig <[email protected]>
1 parent ed85e9a commit 35bd06f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_series.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3543,9 +3543,8 @@ def test_series_dict() -> None:
35433543

35443544
def test_series_keys_type() -> None:
35453545
# GH 1101
3546-
if TYPE_CHECKING:
3547-
s = pd.Series([1, 2, 3])
3548-
assert_type(s.keys(), pd.Index)
3546+
s = pd.Series([1, 2, 3])
3547+
check(assert_type(s.keys(), pd.Index), pd.Index)
35493548

35503549

35513550
def test_series_int_float() -> None:

0 commit comments

Comments
 (0)