Skip to content

Commit

Permalink
ARROW-10863: [Python] Fix pandas skip in ExtensionArray.to_pandas test
Browse files Browse the repository at this point in the history
Closes #8934 from jorisvandenbossche/ARROW-10863-ext-to-pandas-fixup

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
jorisvandenbossche authored and kou committed Dec 16, 2020
1 parent 6cedab0 commit 13cf86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/tests/test_pandas.py
Expand Up @@ -4012,8 +4012,8 @@ def test_to_pandas_extension_dtypes_mapping():


def test_array_to_pandas():
if LooseVersion(pd.__version__) < "1.0":
pytest.skip("ExtensionDtype __from_arrow__ protocol missing")
if LooseVersion(pd.__version__) < "1.1":
pytest.skip("ExtensionDtype to_pandas method missing")

for arr in [pd.period_range("2012-01-01", periods=3, freq="D").array,
pd.interval_range(1, 4).array]:
Expand Down

0 comments on commit 13cf86f

Please sign in to comment.