(tmpdir)
| 1229 | |
| 1230 | |
| 1231 | def test_memory_zero_length(tmpdir): |
| 1232 | path = os.path.join(str(tmpdir), guid()) |
| 1233 | f = open(path, 'wb') |
| 1234 | f.close() |
| 1235 | with pa.memory_map(path, mode='r+b') as memory_map: |
| 1236 | assert memory_map.size() == 0 |
| 1237 | |
| 1238 | |
| 1239 | def test_memory_map_large_seeks(): |