()
| 979 | |
| 980 | |
| 981 | def test_inmemory_write_after_closed(): |
| 982 | f = pa.BufferOutputStream() |
| 983 | f.write(b'ok') |
| 984 | assert not f.closed |
| 985 | f.getvalue() |
| 986 | assert f.closed |
| 987 | |
| 988 | with pytest.raises(ValueError): |
| 989 | f.write(b'not ok') |
| 990 | |
| 991 | |
| 992 | def test_buffer_protocol_ref_counting(): |
nothing calls this directly
no test coverage detected