()
| 958 | |
| 959 | |
| 960 | def 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 | |
| 967 | def test_memory_output_stream(): |