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

Function test_uninitialized_buffer

python/pyarrow/tests/test_io.py:960–964  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

958
959
960def test_uninitialized_buffer():
961 # ARROW-2039: calling Buffer() directly creates an uninitialized object
962 # ARROW-2638: prevent calling extension class constructors directly
963 with pytest.raises(TypeError):
964 pa.Buffer()
965
966
967def test_memory_output_stream():

Callers

nothing calls this directly

Calls 1

BufferMethod · 0.45

Tested by

no test coverage detected