MCPcopy
hub / github.com/dask/dask / test_with_urls

Function test_with_urls

dask/bytes/tests/test_local.py:130–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def test_with_urls():
131 with filetexts(files, mode="b"):
132 # OS-independent file:// URI with glob *
133 url = to_uri(".test.accounts.") + "*"
134 sample, values = read_bytes(url, blocksize=None)
135 assert sum(map(len, values)) == len(files)
136
137
138@pytest.mark.skipif(sys.platform == "win32", reason="pathlib and moto clash on windows")

Callers

nothing calls this directly

Calls 4

filetextsFunction · 0.90
read_bytesFunction · 0.90
to_uriFunction · 0.85
sumFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…