MCPcopy
hub / github.com/dask/dask / test_files

Function test_files

dask/bytes/tests/test_http.py:161–167  ·  view source on GitHub ↗
(dir_server)

Source from the content-addressed store, hash-verified

159
160
161def test_files(dir_server):
162 root = "http://localhost:8999/"
163 fs = open_files([f"{root}{f}" for f in files])
164 for f, f2 in zip(fs, files):
165 with f as f:
166 with open(os.path.join(dir_server, f2), "rb") as expected:
167 assert f.read() == expected.read()
168
169
170def test_open_glob(dir_server):

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…