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

Function test_modification_time_read_bytes

dask/bytes/tests/test_s3.py:419–429  ·  view source on GitHub ↗
(s3)

Source from the content-addressed store, hash-verified

417
418
419def test_modification_time_read_bytes(s3):
420 with s3_context("compress", files):
421 _, a = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
422 _, b = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
423
424 assert [aa._key for aa in concat(a)] == [bb._key for bb in concat(b)]
425
426 with s3_context("compress", valmap(double, files)):
427 _, c = read_bytes("s3://compress/test/accounts.*", anon=True, **s3so)
428
429 assert [aa._key for aa in concat(a)] != [cc._key for cc in concat(c)]
430
431
432@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