Skip to content

Commit e0a90eb

Browse files
committed
fixing tests
1 parent 2743ca7 commit e0a90eb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: tests/system/small/test_dataframe.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -4166,9 +4166,7 @@ def test_dataframe_explode(col_names, ignore_index):
41664166
pytest.param(
41674167
["A", "A"], id="duplicate", marks=pytest.mark.xfail(raises=ValueError)
41684168
),
4169-
pytest.param(
4170-
"unknown", id="unknown", marks=pytest.mark.xfail(raises=ValueError)
4171-
),
4169+
pytest.param("unknown", id="unknown", marks=pytest.mark.xfail(raises=KeyError)),
41724170
],
41734171
)
41744172
def test_dataframe_explode_xfail(col_names):

Diff for: tests/system/small/test_series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3443,7 +3443,7 @@ def test_series_explode(data):
34433443
pd_s = pd.Series(data)
34443444
pd.testing.assert_series_equal(
34453445
s.explode().to_pandas(),
3446-
pd_s.explode().astype(),
3446+
pd_s.explode(),
34473447
check_index_type=False,
34483448
check_dtype=False,
34493449
)

0 commit comments

Comments
 (0)