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

Function test_memory_map_large_seeks

python/pyarrow/tests/test_io.py:1239–1247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1237
1238
1239def test_memory_map_large_seeks():
1240 if sys.maxsize >= 2**32:
1241 expected_error = None
1242 else:
1243 expected_error = pytest.raises(
1244 pa.ArrowCapacityError,
1245 match="Requested memory map length 4294967306 "
1246 "does not fit in a C size_t")
1247 check_large_seeks(pa.memory_map, expected_error=expected_error)
1248
1249
1250def test_memory_map_close_remove(tmpdir):

Callers

nothing calls this directly

Calls 1

check_large_seeksFunction · 0.85

Tested by

no test coverage detected