Buckets:
ktongue/OnedriveENISE / ENISE1 /hf_env /lib /python3.14 /site-packages /fsspec /tests /abstract /open.py
| import pytest | |
| class AbstractOpenTests: | |
| def test_open_exclusive(self, fs, fs_target): | |
| with fs.open(fs_target, "wb") as f: | |
| f.write(b"data") | |
| with fs.open(fs_target, "rb") as f: | |
| assert f.read() == b"data" | |
| with pytest.raises(FileExistsError): | |
| fs.open(fs_target, "xb") | |
Xet Storage Details
- Size:
- 329 Bytes
- Xet hash:
- beaf821bd245e5fe0c225c4bb24d054227665add38760acf0ef45d6c79aeb1c3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.