MCPcopy Create free account
hub / github.com/dask/dask / test_ensure_bytes_pyarrow_buffer

Function test_ensure_bytes_pyarrow_buffer

dask/tests/test_utils.py:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66
67def test_ensure_bytes_pyarrow_buffer():
68 pa = pytest.importorskip("pyarrow")
69 buf = pa.py_buffer(b"123")
70 result = ensure_bytes(buf)
71 assert isinstance(result, bytes)
72
73
74def test_ensure_unicode():

Callers

nothing calls this directly

Calls 1

ensure_bytesFunction · 0.90

Tested by

no test coverage detected