Skip to content

Commit 2a0a6a0

Browse files
update tests
1 parent 0185d10 commit 2a0a6a0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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)