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

Function test_ensure_unicode_pyarrow_buffer

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

Source from the content-addressed store, hash-verified

88
89
90def test_ensure_unicode_pyarrow_buffer():
91 pa = pytest.importorskip("pyarrow")
92 buf = pa.py_buffer(b"123")
93 result = ensure_unicode(buf)
94 assert isinstance(result, str)
95 assert result == "123"
96
97
98def test_getargspec():

Callers

nothing calls this directly

Calls 1

ensure_unicodeFunction · 0.90

Tested by

no test coverage detected