You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/09/08 12:39:00 UTC
[jira] [Updated] (ARROW-17651) [Python] ResourceWarnings raised by s3 related tests
[ https://issues.apache.org/jira/browse/ARROW-17651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche updated ARROW-17651:
------------------------------------------
Labels: good-first-issue (was: )
> [Python] ResourceWarnings raised by s3 related tests
> ----------------------------------------------------
>
> Key: ARROW-17651
> URL: https://issues.apache.org/jira/browse/ARROW-17651
> Project: Apache Arrow
> Issue Type: Test
> Components: Python
> Reporter: Joris Van den Bossche
> Priority: Minor
> Labels: good-first-issue
>
> Running the python tests give a lot of the following warnings:
> {code}
> 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.
> {code}
> Ideally we should ensure the tests don't give such warnings (it also makes other warning we should notice less visible)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)