Commit 912eec1
authored
### Rationale for this change
The test does not throw `OSError` anymore.
### What changes are included in this PR?
This PR changes `test_parquet_file_too_small` test to only catch `ArrowInvalid`.
### Are these changes tested?
Yes, manually tested via
```
pytest pyarrow/tests/parquet/test_basic.py::test_parquet_file_too_small
```
### Are there any user-facing changes?
No, test-only.
* GitHub Issue: #48419
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 9492e6b commit 912eec1
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
717 | | - | |
718 | | - | |
| 716 | + | |
719 | 717 | | |
720 | 718 | | |
721 | 719 | | |
722 | 720 | | |
723 | | - | |
724 | | - | |
| 721 | + | |
725 | 722 | | |
726 | 723 | | |
727 | 724 | | |
| |||
0 commit comments