aoc-2022/venv/Lib/site-packages/pandas/tests/extension/arrow/test_string.py

13 lines
306 B
Python

import pytest
import pandas as pd
pytest.importorskip("pyarrow", minversion="1.0.0")
def test_constructor_from_list():
# GH 27673
result = pd.Series(["E"], dtype=pd.StringDtype(storage="pyarrow"))
assert isinstance(result.dtype, pd.StringDtype)
assert result.dtype.storage == "pyarrow"