Skip to content

Commit

Permalink
Change Python error
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed May 30, 2024
1 parent 5158fb4 commit 28630f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_cffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def gen():
original._export_to_c(ptr_stream)

reader = pa.RecordBatchReader._import_from_c(ptr_stream)
with pytest.raises(OSError) as exc_info:
with pytest.raises(NotImplementedError) as exc_info:
reader.read_next_batch()

# inner *and* outer exception should be present
Expand Down

0 comments on commit 28630f3

Please sign in to comment.