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

Function test_cache_options_pickling

python/pyarrow/tests/test_io.py:802–810  ·  view source on GitHub ↗
(pickle_module)

Source from the content-addressed store, hash-verified

800
801
802def test_cache_options_pickling(pickle_module):
803 options = [
804 pa.CacheOptions(),
805 pa.CacheOptions(hole_size_limit=4096, range_size_limit=8192,
806 lazy=True, prefetch_limit=5),
807 ]
808
809 for option in options:
810 assert pickle_module.loads(pickle_module.dumps(option)) == option
811
812
813@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

loadsMethod · 0.80
dumpsMethod · 0.80

Tested by

no test coverage detected