Skip to content

Commit 2f8523f

Browse files
fix ut
Signed-off-by: OneSizeFitsQuorum <[email protected]>
1 parent 0e8a801 commit 2f8523f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fsspec/implementations/tests/test_arrow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def test_seekable_true_allows_size_method(fs, remote_dir):
333333
with fs.open(test_file, "rb", seekable=True) as f:
334334
assert f.seekable() is True
335335
# Verify size() method works and returns correct size
336-
file_size = f.size()
336+
file_size = f.size
337337
assert file_size == len(data)
338338
# Also verify we can read the data
339339
assert f.read() == data
@@ -353,6 +353,6 @@ def test_seekable_false_prevents_size_method(fs, remote_dir):
353353
assert f.seekable() is False
354354
# Verify size() raises OSError
355355
with pytest.raises(OSError, match="only valid on seekable files"):
356-
f.size()
356+
f.size
357357
# Verify we can still read the data
358358
assert f.read() == data

0 commit comments

Comments
 (0)