Skip to content

Commit dd8baff

Browse files
committed
fix(comment): #1274 (comment)
1 parent ceff1fe commit dd8baff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_scalars.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,9 @@ def test_timestamp_cmp() -> None:
12691269
c_unknown_index = pd.DataFrame({"a": [1]}, index=c_datetimeindex).index
12701270
c_np_ndarray_dt64 = np_dt64_arr
12711271
c_series_dt64 = pd.Series([1, 2, 3], dtype="datetime64[ns]")
1272+
check(
1273+
assert_type(c_series_dt64, "pd.Series[pd.Timestamp]"), pd.Series, pd.Timestamp
1274+
)
12721275
c_series_timestamp = pd.Series(pd.DatetimeIndex(["2000-1-1"]))
12731276
check(
12741277
assert_type(c_series_timestamp, "pd.Series[pd.Timestamp]"),

0 commit comments

Comments
 (0)