diff --git a/py-polars/tests/unit/io/cloud/test_cloud.py b/py-polars/tests/unit/io/cloud/test_cloud.py index 972a61492600..54d1b5ccd6a6 100644 --- a/py-polars/tests/unit/io/cloud/test_cloud.py +++ b/py-polars/tests/unit/io/cloud/test_cloud.py @@ -14,7 +14,9 @@ def test_scan_nonexistent_cloud_path_17444(format: str) -> None: path_str = f"s3://my-nonexistent-bucket/data.{format}" scan_function = getattr(pl, f"scan_{format}") # Prevent automatic credential provideder instantiation, otherwise CI may fail with - # * pytest.PytestUnraisableExceptionWarning: Exception ignored: ResourceWarning: unclosed socket + # * pytest.PytestUnraisableExceptionWarning: + # * Exception ignored: + # * ResourceWarning: unclosed socket scan_function = partial(scan_function, credential_provider=None) # Just calling the scan function should not raise any errors