Skip to content

Commit 58fcae3

Browse files
committed
Removed bare except in test_encrypted_parquet_write_read_external
1 parent 92c510f commit 58fcae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/pyarrow/tests/parquet/test_encryption.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ def test_encrypted_parquet_write_read_external(tempdir, data_table,
556556
assert len(key_ids := store.get_key_id_set()) == (
557557
len(external_encryption_config.column_keys[COL_KEY_NAME]) + 1 )
558558
assert all([store.get_key_material(k) is not None for k in key_ids ])
559-
except:
560-
pytest.fail("Unable to read external key material store.")
559+
except Exception as e:
560+
pytest.fail(f"Unable to read external key material store: {e}")
561561

562562
assert data_table.equals(result_table)
563563

0 commit comments

Comments
 (0)