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

Function test_function_attributes

python/pyarrow/tests/test_compute.py:320–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318
319
320def test_function_attributes():
321 # Sanity check attributes of registered functions
322 for name in pc.list_functions():
323 func = pc.get_function(name)
324 assert isinstance(func, pc.Function)
325 assert func.name == name
326 kernels = func.kernels
327 assert func.num_kernels == len(kernels)
328 assert all(isinstance(ker, pc.Kernel) for ker in kernels)
329 repr(func)
330 for ker in kernels:
331 repr(ker)
332
333
334def test_input_type_conversion():

Callers

nothing calls this directly

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected