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

Function test_exported_option_classes

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

Source from the content-addressed store, hash-verified

126
127
128def test_exported_option_classes():
129 classes = exported_option_classes
130 assert len(classes) >= 10
131 for cls in classes:
132 # Option classes must have an introspectable constructor signature,
133 # and that signature should not have any *args or **kwargs.
134 sig = inspect.signature(cls)
135 for param in sig.parameters.values():
136 assert param.kind not in (param.VAR_POSITIONAL,
137 param.VAR_KEYWORD)
138
139
140@pytest.mark.filterwarnings(

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
signatureMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected