(self, df, engine, exc, err_msg, temp_file_path)
| 379 | |
| 380 | class Base: |
| 381 | def check_error_on_write(self, df, engine, exc, err_msg, temp_file_path): |
| 382 | # check that we are raising the exception on writing |
| 383 | with pytest.raises(exc, match=err_msg): |
| 384 | to_parquet(df, temp_file_path, engine, compression=None) |
| 385 | |
| 386 | def check_external_error_on_write(self, df, engine, exc, temp_file_path): |
| 387 | # check that an external library is raising the exception on writing |
no test coverage detected