Skip to content

Commit d97e87a

Browse files
committed
Another
1 parent d402ac5 commit d97e87a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fsspec/tests/test_spec.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ def test_cache():
747747

748748

749749
def test_cache_not_pickled(server):
750-
# fs = fsspec.filesystem("http", cache_type="readahead")
751-
fs = fsspec.filesystem("simplecache", target_protocol="http")
750+
fs = fsspec.filesystem("http")
751+
# fs = fsspec.filesystem("readahead", target_protocol="http")
752752
filepath = server.realfile
753753
length = 3
754-
f = fs.open(filepath, mode="rb")
754+
f = fs.open(filepath, mode="rb", cache_type="readahead")
755755
assert not f.cache.cache # No cache initially
756756
assert f.read(length=length) == data[:length]
757757
assert f.cache.cache == data # Cache is populated

0 commit comments

Comments
 (0)