-
-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Prior to #1280 , we had this test:
def test_path_div() -> None:
# GH 682
folder = Path.cwd()
files = pd.Series(["a.png", "b.png"])
if PD_LTE_23:
# Bug in 3.0 https://github.com/pandas-dev/pandas/issues/61940
check(assert_type(folder / files, pd.Series), pd.Series, Path)
folders = pd.Series([folder, folder])
check(assert_type(folders / Path("a.png"), pd.Series), pd.Series, Path)
In #1280, @cmp0xff created this:
def test_truediv_path() -> None: |
The new tests in that function need to be surrounded with the if PD_LTE_23:
and the comment above
Metadata
Metadata
Assignees
Labels
No labels