()
| 80 | |
| 81 | |
| 82 | def test_ensure_unicode_ndarray(): |
| 83 | np = pytest.importorskip("numpy") |
| 84 | a = np.frombuffer(b"123", dtype="u1") |
| 85 | result = ensure_unicode(a) |
| 86 | assert isinstance(result, str) |
| 87 | assert result == "123" |
| 88 | |
| 89 | |
| 90 | def test_ensure_unicode_pyarrow_buffer(): |
nothing calls this directly
no test coverage detected