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