Skip to content

Commit 4045d48

Browse files
CI: properly enable the string dtype also for custom CI builds (#61913)
1 parent 13f7b8b commit 4045d48

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
LANG: ${{ matrix.lang || 'C.UTF-8' }}
9292
LC_ALL: ${{ matrix.lc_all || '' }}
9393
PANDAS_CI: '1'
94-
PANDAS_FUTURE_INFER_STRING: ${{ matrix.pandas_future_infer_string || '0' }}
94+
PANDAS_FUTURE_INFER_STRING: ${{ matrix.pandas_future_infer_string || '1' }}
9595
TEST_ARGS: ${{ matrix.test_args || '' }}
9696
PYTEST_WORKERS: 'auto'
9797
PYTEST_TARGET: ${{ matrix.pytest_target || 'pandas' }}

pandas/tests/indexing/test_iloc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import numpy as np
77
import pytest
88

9+
from pandas.compat import pa_version_under16p0
910
from pandas.errors import IndexingError
1011

1112
from pandas import (
@@ -140,6 +141,9 @@ def test_is_scalar_access(self):
140141
df = ser.to_frame()
141142
assert df.iloc._is_scalar_access((1, 0))
142143

144+
@pytest.mark.skipif(
145+
pa_version_under16p0, reason="https://github.com/apache/arrow/issues/40642"
146+
)
143147
def test_iloc_exceeds_bounds(self):
144148
# GH6296
145149
# iloc should allow indexers that exceed the bounds

pandas/tests/io/test_gcs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ def test_to_parquet_gcs_new_file(monkeypatch, tmpdir):
216216
{
217217
"int": [1, 3],
218218
"float": [2.0, np.nan],
219-
"str": ["t", "s"],
220219
"dt": date_range("2018-06-18", periods=2),
221220
}
222221
)

0 commit comments

Comments
 (0)