Skip to content

Commit

Permalink
try to fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Berenbaum committed Sep 13, 2024
1 parent 916e86a commit c0f038f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/lib/test_arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_arrow_generator(tmp_path, catalog, cache):
name = "111.parquet"
pq_path = tmp_path / name
df.to_parquet(pq_path)
stream = File(path=pq_path.as_posix(), source="file:///")
stream = File(path=pq_path.as_posix(), source="file://")
stream._set_stream(catalog, caching_enabled=cache)

func = ArrowGenerator()
Expand All @@ -47,7 +47,7 @@ def test_arrow_generator_no_source(tmp_path, catalog):
name = "111.parquet"
pq_path = tmp_path / name
df.to_parquet(pq_path)
stream = File(path=pq_path.as_posix(), source="file:///")
stream = File(path=pq_path.as_posix(), source="file://")
stream._set_stream(catalog, caching_enabled=False)

func = ArrowGenerator(source=False)
Expand All @@ -68,7 +68,7 @@ def test_arrow_generator_output_schema(tmp_path, catalog):
name = "111.parquet"
pq_path = tmp_path / name
pq.write_table(table, pq_path)
stream = File(path=pq_path.as_posix(), source="file:///")
stream = File(path=pq_path.as_posix(), source="file://")
stream._set_stream(catalog, caching_enabled=False)

output_schema = dict_to_data_model("", schema_to_output(table.schema))
Expand Down

0 comments on commit c0f038f

Please sign in to comment.