Skip to content

Commit 3d4b619

Browse files
fix capture
1 parent b59a8a5 commit 3d4b619

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

py-polars/polars/_utils/logging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ def verbose() -> bool:
77
return os.getenv("POLARS_VERBOSE") == "1"
88

99

10-
eprint = partial(print, file=sys.stderr)
10+
def eprint(*a, **kw):
11+
return print(*a, file=sys.stderr, **kw)

py-polars/tests/unit/io/cloud/test_credential_provider.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def test_credential_provider_aws_endpoint_url_scan_no_parameters(
186186
_set_default_credentials(tmp_path, monkeypatch)
187187
cfg_file_path = tmp_path / "config"
188188

189-
monkeypatch.setenv("AWS_REGION", "eu-west-1")
190189
monkeypatch.setenv("AWS_CONFIG_FILE", str(cfg_file_path))
191190
monkeypatch.setenv("POLARS_VERBOSE", "1")
192191

@@ -255,7 +254,6 @@ def test_credential_provider_aws_endpoint_url_with_storage_options(
255254
_set_default_credentials(tmp_path, monkeypatch)
256255
cfg_file_path = tmp_path / "config"
257256

258-
monkeypatch.setenv("AWS_REGION", "eu-west-1")
259257
monkeypatch.setenv("AWS_CONFIG_FILE", str(cfg_file_path))
260258
monkeypatch.setenv("POLARS_VERBOSE", "1")
261259

0 commit comments

Comments
 (0)