MCPcopy Create free account
hub / github.com/apache/arrow / test_memory_zero_length

Function test_memory_zero_length

python/pyarrow/tests/test_io.py:1223–1228  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

1221
1222
1223def test_memory_zero_length(tmpdir):
1224 path = os.path.join(str(tmpdir), guid())
1225 f = open(path, 'wb')
1226 f.close()
1227 with pa.memory_map(path, mode='r+b') as memory_map:
1228 assert memory_map.size() == 0
1229
1230
1231def test_memory_map_large_seeks():

Callers

nothing calls this directly

Calls 4

guidFunction · 0.90
joinMethod · 0.45
closeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected