File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
fsspec/implementations/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments