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

Function raise_on_b

python/pyarrow/tests/test_cython.py:199–201  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

197
198 with pytest.raises(ValueError, match="wtf"):
199 def raise_on_b(s):
200 if s == 'b':
201 raise ValueError('wtf')
202
203 mod._visit_strings(strings, raise_on_b)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected