Skip to content

Commit 421166e

Browse files
committed
Fix doctest, typo
1 parent 1e52eee commit 421166e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/series/accessors/test_dt_accessor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def get_expected(ser, prop):
9191
return Series(result, index=ser.index, name=ser.name, dtype=result.dtype)
9292

9393
if name == "time":
94-
msg = "In a future version, this will an array with pyarrow time dtype"
94+
msg = (
95+
"In a future version, this will return an array with pyarrow time dtype"
96+
)
9597
with tm.assert_produces_warning(FutureWarning, match=msg):
9698
left = getattr(ser.dt, name)
9799
right = get_expected(ser, name)

0 commit comments

Comments
 (0)