-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Running the python tests give a lot of the following warnings:
opt/conda/envs/arrow/lib/python3.9/site-packages/pyarrow/tests/test_fs.py::test_s3fs_limited_permissions_create_bucket
/opt/conda/envs/arrow/lib/python3.9/site-packages/pyarrow/tests/util.py:439: ResourceWarning: unclosed file <_io.TextIOWrapper name=29 encoding='utf-8'>
_run_mc_command(mcdir, 'admin', 'policy', 'add',
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.Ideally we should ensure the tests don't give such warnings (it also makes other warning we should notice less visible)
Reporter: Joris Van den Bossche / @jorisvandenbossche
Related issues:
- [Python] Reduce warnings during tests (is a child of)
Note: This issue was originally created as ARROW-17651. Please see the migration documentation for further details.