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

Function test_memory_zero_length

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

Source from the content-addressed store, hash-verified

1220
1221
1222def test_memory_zero_length(tmpdir):
1223 path = os.path.join(str(tmpdir), guid())
1224 f = open(path, 'wb')
1225 f.close()
1226 with pa.memory_map(path, mode='r+b') as memory_map:
1227 assert memory_map.size() == 0
1228
1229
1230def 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