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