Details
-
Test
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
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)
Attachments
Issue Links
- is a child of
-
ARROW-18399 [Python] Reduce warnings during tests
- Resolved