MCPcopy Create free account
hub / github.com/dask/dask / test_files

Function test_files

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

Source from the content-addressed store, hash-verified

156
157
158def test_files(dir_server):
159 fs = open_files([f"{root}{f}" for f in files])
160 for f, f2 in zip(fs, files):
161 with open(os.path.join(dir_server, f2), "rb") as expected, f as f:
162 assert f.read() == expected.read()
163
164
165def test_open_glob(dir_server):

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected