File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4040 shell : bash -l {0}
4141 run : |
4242 pip install -e .[test_full]
43- pytest -v fsspec/tests/test_spec.py
43+ pytest -v
4444
4545 win :
4646 name : pytest-win
Original file line number Diff line number Diff line change @@ -752,10 +752,10 @@ def test_cache_not_pickled(server):
752752 cache_type = "readahead" ,
753753 headers = {"give_length" : "true" , "head_ok" : "true" },
754754 )
755- # fs = fsspec.filesystem("readahead", target_protocol="http")
756755 filepath = server .realfile
757756 length = 3
758757 f = fs .open (filepath , mode = "rb" )
758+ assert isinstance (f , AbstractBufferedFile )
759759 assert not f .cache .cache # No cache initially
760760 assert f .read (length = length ) == data [:length ]
761761 assert f .cache .cache == data # Cache is populated
You can’t perform that action at this time.
0 commit comments