Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tests/series/test_properties.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import (
TYPE_CHECKING,
cast,
)

import numpy as np
Expand Down Expand Up @@ -57,9 +56,7 @@ def test_array_property() -> None:
# casting due to pandas-dev/pandas-stubs#1383
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove thie comment

check(
assert_type(
cast(
"pd.Series[pd.CategoricalDtype]", pd.Series([1], dtype="category")
).array,
pd.Series([1], dtype="category").array,
pd.Categorical,
),
pd.Categorical,
Expand Down