Skip to content

Commit

Permalink
Windows doesn't love writing a file and immediately overwriting it so…
Browse files Browse the repository at this point in the history
… let's use a new file
  • Loading branch information
westonpace committed Aug 5, 2024
1 parent ab98be8 commit b1b68e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/python/tests/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def test_version(tmp_path):
assert metadata.major_version == 0
assert metadata.minor_version == 3

path = tmp_path / "foo2.lance"
with LanceFileWriter(str(path), schema, version="2.1") as writer:
writer.write_batch(pa.table({"a": [1, 2, 3]}))
reader = LanceFileReader(str(path))
Expand Down

0 comments on commit b1b68e6

Please sign in to comment.