Skip to content

Commit

Permalink
returning all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilongin committed Oct 9, 2024
1 parent 898ed47 commit 38e86ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ def tests(session: nox.Session) -> None:
session.install(".[tests]")
session.run(
"pytest",
"tests/unit/lib/test_datachain.py",
"-k test_llistings",
"-vvv",
"--capture=sys",
"--cov",
Expand Down
4 changes: 0 additions & 4 deletions src/datachain/client/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def split_url(cls, url: str) -> tuple[str, str]:
fill_path = url[len(cls.PREFIX) :]
path_split = fill_path.rsplit("/", 1)
bucket = path_split[0]
"""
if os.name == "nt":
bucket = bucket.removeprefix("/")
"""
path = path_split[1] if len(path_split) > 1 else ""
return bucket, path

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lib/test_datachain.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def test_datasets_in_memory():
assert datasets[0].num_objects == 6


def test_llistings(test_session, tmp_dir):
def test_listings(test_session, tmp_dir):
df = pd.DataFrame(DF_DATA)
df.to_parquet(tmp_dir / "df.parquet")

Expand Down

0 comments on commit 38e86ed

Please sign in to comment.