Skip to content

Commit

Permalink
revert(datasets): use pathlib, ignore Windows test
Browse files Browse the repository at this point in the history
This reverts commit b7ff0c7.

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
  • Loading branch information
deepyaman committed Sep 23, 2024
1 parent b7ff0c7 commit 88f74cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kedro-datasets/kedro_datasets/ibis/file_dataset.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Provide file loading and saving functionality for Ibis's backends."""
from __future__ import annotations

import os
from copy import deepcopy
from pathlib import Path, PurePosixPath
from typing import TYPE_CHECKING, Any, ClassVar
Expand Down Expand Up @@ -119,7 +118,7 @@ def __init__( # noqa: PLR0913
super().__init__(
filepath=PurePosixPath(filepath),
version=version,
exists_function=os.path.exists,
exists_function=lambda filepath: Path(filepath).exists(),
)

# Set load and save arguments, overwriting defaults if provided.
Expand Down

0 comments on commit 88f74cb

Please sign in to comment.