Skip to content

Commit e9877aa

Browse files
committed
fix(comment): #1306 (comment)
1 parent a64f8e8 commit e9877aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/series/arithmetic/test_truediv.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,10 @@ def test_truediv_path(tmp_path: Path) -> None:
168168
fnames = pd.Series(["a.png", "b.gz", "c.txt"])
169169

170170
if PD_LTE_23:
171-
# Bug in 3.0 https://github.com/pandas-dev/pandas/issues/61940
171+
# Bug in 3.0 https://github.com/pandas-dev/pandas/issues/61940 (pyarrow.lib.ArrowInvalid)
172172
check(assert_type(fnames / tmp_path, pd.Series), pd.Series, Path)
173173
check(assert_type(tmp_path / fnames, pd.Series), pd.Series, Path)
174174

175-
if PD_LTE_23 or not WINDOWS:
176-
# pyarrow.lib.ArrowInvalid: Could not convert WindowsPath('...') with type WindowsPath: did not recognize Python value type when inferring an Arrow data type
177175
check(assert_type(fnames.truediv(tmp_path), pd.Series), pd.Series, Path)
178176
check(assert_type(fnames.div(tmp_path), pd.Series), pd.Series, Path)
179177

0 commit comments

Comments
 (0)