Skip to content

Commit

Permalink
Revert temp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Nov 21, 2024
1 parent 0950540 commit 937a589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
shell: bash -l {0}
run: |
pip install -e .[test_full]
pytest -v fsspec/tests/test_spec.py
pytest -v
win:
name: pytest-win
Expand Down
2 changes: 1 addition & 1 deletion fsspec/tests/test_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,10 +752,10 @@ def test_cache_not_pickled(server):
cache_type="readahead",
headers={"give_length": "true", "head_ok": "true"},
)
# fs = fsspec.filesystem("readahead", target_protocol="http")
filepath = server.realfile
length = 3
f = fs.open(filepath, mode="rb")
assert isinstance(f, AbstractBufferedFile)
assert not f.cache.cache # No cache initially
assert f.read(length=length) == data[:length]
assert f.cache.cache == data # Cache is populated
Expand Down

0 comments on commit 937a589

Please sign in to comment.