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

Function test_expression_serialization_arrow

python/pyarrow/tests/test_compute.py:3998–4002  ·  view source on GitHub ↗
(pickle_module)

Source from the content-addressed store, hash-verified

3996
3997@pytest.mark.numpy
3998def test_expression_serialization_arrow(pickle_module):
3999 for expr in create_sample_expressions()["all"]:
4000 assert isinstance(expr, pc.Expression)
4001 restored = pickle_module.loads(pickle_module.dumps(expr))
4002 assert expr.equals(restored)
4003
4004
4005@pytest.mark.numpy

Callers

nothing calls this directly

Calls 4

loadsMethod · 0.80
dumpsMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected