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:66–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ensure_bytesFunction · 0.90

Tested by

no test coverage detected