MCPcopy
hub / github.com/dask/dask / test_modification_time_read_bytes

Function test_modification_time_read_bytes

dask/bytes/tests/test_s3.py:427–437  ·  view source on GitHub ↗
(s3, s3so)

Source from the content-addressed store, hash-verified

425
426
427def test_modification_time_read_bytes(s3, s3so):
428 with s3_context("compress", files):
429 _, a = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
430 _, b = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
431
432 assert [aa._key for aa in concat(a)] == [bb._key for bb in concat(b)]
433
434 with s3_context("compress", valmap(double, files)):
435 _, c = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
436
437 assert [aa._key for aa in concat(a)] != [cc._key for cc in concat(c)]
438
439
440@pytest.fixture(params=["pyarrow"])

Callers

nothing calls this directly

Calls 3

read_bytesFunction · 0.90
s3_contextFunction · 0.85
concatFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…